Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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/
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
18 |