Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

How to Hide values in crosstab

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:-

kumarch_1-1675436644544.png

 

 

Regards,

Kiran

 

 

 

 

 

 

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@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/

View solution in original post

v-yangliu-msft
Community Support
Community Support

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:

vyangliumsft_0-1675651948600.png

 

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

View solution in original post

4 REPLIES 4
v-yangliu-msft
Community Support
Community Support

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:

vyangliumsft_0-1675651948600.png

 

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
Not applicable

@v-yangliu-msft Thanks for the reply, It worked for me.

amitchandak
Super User
Super User

@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/

Anonymous
Not applicable

@amitchandak Thanks for the quick reply, It worked fine for me.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors