Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello All,
Need help in undestanding the filter function and apply for my use case.
I have 2 months of sales data (Jan and Feb) having both postive and negative values (for few rows) and i want to filter the visual to show rows having positive values only.
However, issue pops up in cases where Jan month is +ve and Feb month is -ve or vice-versa.
In short, how can i apply sales measure as a filter and show only +ve rows and apply across any/both months.
ignore rows where it has got both +ve and -ve values in the different months.
Please help.
Solved! Go to Solution.
Hi @Anonymous ,
You can try.
Measure = If ([Sales] > 0 , [Sales] , BLANK())
Also,
You can create a Visual Filter
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
@Anonymous , You can create a positive measure like
sumx(table, if(table[value] =abs(table[Value]),Table[Value]))
Hi @Anonymous
Can you upload the data in One Drive / Google Drive and share the link.
Also for the sample data what is the ouput expected.
Best Regards
CheenuSing
Hi @Anonymous ,
You can try.
Measure = If ([Sales] > 0 , [Sales] , BLANK())
Also,
You can create a Visual Filter
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |