Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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!!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
25 | |
17 | |
12 | |
12 | |
10 |
User | Count |
---|---|
33 | |
27 | |
16 | |
14 | |
13 |