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.
Hi,
I'm looking to only see the total of Chairs in the "Tables" filter context only.
I've created a measure that gets rid of the filter conext at sub-category column.
Solved! Go to Solution.
@khaeshr46, here is my suggested solution.
Create a measure called [Sales for Chairs in Tables]:
Sales for Chairs in Tables =
SUMX(
VALUES(YourTable[Subcat]),
IF(YourTable[Subcat] = "Tables", CALCULATE(SUM(YourTable[sales]), YourTable[Subcat] = "Chairs"))
)
This gives me the following results with a subset of your data:
Hope this helps.
@khaeshr46, here is my suggested solution.
Create a measure called [Sales for Chairs in Tables]:
Sales for Chairs in Tables =
SUMX(
VALUES(YourTable[Subcat]),
IF(YourTable[Subcat] = "Tables", CALCULATE(SUM(YourTable[sales]), YourTable[Subcat] = "Chairs"))
)
This gives me the following results with a subset of your data:
Hope this helps.
Did the job! Thanks!!
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 |
---|---|
43 | |
26 | |
20 | |
14 | |
8 |
User | Count |
---|---|
73 | |
47 | |
45 | |
17 | |
17 |