The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
20 | |
19 | |
18 | |
13 |
User | Count |
---|---|
41 | |
39 | |
24 | |
22 | |
20 |