Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
19 | |
12 | |
10 | |
10 | |
8 |
User | Count |
---|---|
20 | |
13 | |
8 | |
7 | |
6 |