March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
22 | |
19 | |
17 | |
9 | |
5 |
User | Count |
---|---|
37 | |
29 | |
16 | |
14 | |
12 |