Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi All,
I want to exclude the marked dimension and get the total as 42413 as markd in snap
please give your thoughts, I tried with
Solved! Go to Solution.
HI @Raveeshlokanath,
You can add a if statement to check the current row contents level with isinscope function and replace not matched levels.
formula =
IF ( ISINSCOPE ( QLTY_TR_DETAILS_All_Padded[Category] ), [TRs] )
Clever Hierarchy Handling in DAX - SQLBI
ISINSCOPE function (DAX) - DAX | Microsoft Learn
Regards,
Xiaoxin Sheng
HI @Raveeshlokanath,
You can add a if statement to check the current row contents level with isinscope function and replace not matched levels.
formula =
IF ( ISINSCOPE ( QLTY_TR_DETAILS_All_Padded[Category] ), [TRs] )
Clever Hierarchy Handling in DAX - SQLBI
ISINSCOPE function (DAX) - DAX | Microsoft Learn
Regards,
Xiaoxin Sheng
@Raveeshlokanath - it looks like you have named the whole dimension table in your ALL( ) rather than just the column, you can try:
CALCULATE([TRs],ALL('QLTY_TR_DETAILS_All_Padded'[Column]))
Just replace the word Column in my code with the column in your visual.
If you are applying a filter to that column already, you may need to use ALLSELECTED( ) instead.
If this works, please accept as a solution.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
14 | |
10 | |
9 | |
9 |
User | Count |
---|---|
15 | |
12 | |
12 | |
11 | |
11 |