Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I have a measure for calculating net sale, based on 3 categories. How I can filter these categories?
Please help
Solved! Go to Solution.
Solved
@Anonymous
In case you are looking for net sales of a specific category use this
calculate(sum(table[sales]),category="A")
If are looking for net sales per category
calculate(sum(table[sales]),allexcept(table,table[category]))
Please share dummy data in case it does not work
Solved
In my scenario, I have 5 categoeries avialable, but I need net sale of 3 categories only.
Suppose categories namely, A,B,C,D,E.
SUM(Sales) WHERE Category = A,B,C
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 55 | |
| 53 | |
| 41 | |
| 36 | |
| 32 |