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
LucMarv
Helper I
Helper I

Display of selected value in slicer with multiple data elements

Hi have a slicer which includes the columns from the following table:

LucMarv_0-1643245465026.png

 

The slicer looks like:

LucMarv_3-1643245891038.png

 

 

When I select the highest level, the display of the selected value makes sense:

LucMarv_1-1643245521310.png

 

 

When I select a element from the 2nd level, I get the following:

LucMarv_2-1643245565992.png

 

I dont really like the 'Bowel + Colon', as clearly colon is a subcategory within Bowel.

However, the main issue I have (which I hope someone knows how to solve) is how to get rid of the column names (Grouping_LvL1, Grouping_LvL2).

 

Currently showing --> 'Bowel (Grouping_LvL1) + Colon (Grouping_LvL2)'.

Better                    --> 'Bowel + Colon' 

Even better           --> 'Colon'

Best                       --> 'Colon (within Bowel)'

 

I hope you have suggestions! I was not able to find anything....

 

 

 

 

 

1 ACCEPTED SOLUTION

yes, but you can do this with your version too - the title text has the fx icon next to it.

 

Here's my DAX:  (calculated column)

Column = 'Table'[Rnk] & " (within " & 'Table'[host] & ")"

View solution in original post

6 REPLIES 6
lbendlin
Super User
Super User

lbendlin_0-1643333947534.png

Set Show summary to "off"  and then write your own DAX formula for the Title text.

 

lbendlin_1-1643334248904.png

 

LucMarv_0-1643334539152.png

 

I dont seem to have that option...

Would this be a version thing? 

I am running Version: 2.96.1061.0 64-bit (August 2021)

yes, but you can do this with your version too - the title text has the fx icon next to it.

 

Here's my DAX:  (calculated column)

Column = 'Table'[Rnk] & " (within " & 'Table'[host] & ")"

Thank you! You have answered my question and I'll accept this as the solution. 

 

I have three levels, so will have to think about how to adjust this two level version to a three level version!

That is AWESOME! Could you add your DAX for completion?

Regards,
LUc

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.