Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi Team,
I need a situation to hide the few values in a crosstab, I have 3 measure values in the crosstab, Year Turnover rate, Quarter turnover rate, Month turnover rate, and Year, Quarter and Month Categories
In the Year Turnover Rate, It Should show only Year-related information, but in my case, it is showing Quarter and monthly information too. How to hide Quarter and month-related information in the Year Turnoverrate measure
And same applies to Quarter Turnover Rate. Can anyone help me please
For reference:-
Regards,
Kiran
Solved! Go to Solution.
@Anonymous ,
Use isinscope and merge the three
Switch(true(),
isinscope(Date[Month]), [Turn Over Rate %],
isinscope(Date[Quarter]), [Quarter Turn Over Rate %],
[Year Turn Over Rate %]
)
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
Hi @Anonymous ,
Here are the steps you can follow:
1. Create measure.
Year =
IF(
ISINSCOPE('Table'[Date].[Year]) && NOT(ISINSCOPE('Table'[Date].[Quarter])),[Year Turnover rate],BLANK())
Qu =
IF(
ISINSCOPE('Table'[Date].[Quarter]) && NOT(ISINSCOPE('Table'[Date].[Month])),[Quarter turnover rate],BLANK())
Month =
IF(
ISINSCOPE('Table'[Date].[Month]),[Month turnover rate],
BLANK())
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
Here are the steps you can follow:
1. Create measure.
Year =
IF(
ISINSCOPE('Table'[Date].[Year]) && NOT(ISINSCOPE('Table'[Date].[Quarter])),[Year Turnover rate],BLANK())
Qu =
IF(
ISINSCOPE('Table'[Date].[Quarter]) && NOT(ISINSCOPE('Table'[Date].[Month])),[Quarter turnover rate],BLANK())
Month =
IF(
ISINSCOPE('Table'[Date].[Month]),[Month turnover rate],
BLANK())
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@Anonymous ,
Use isinscope and merge the three
Switch(true(),
isinscope(Date[Month]), [Turn Over Rate %],
isinscope(Date[Quarter]), [Quarter Turn Over Rate %],
[Year Turn Over Rate %]
)
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
User | Count |
---|---|
51 | |
48 | |
20 | |
16 | |
15 |
User | Count |
---|---|
109 | |
45 | |
42 | |
24 | |
20 |