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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
itskool
Advocate II
Advocate II

Dynamic slicer header/title

Hi All,

 

I was wondering if you could help:

 

I have a single-select slicer with a 3 level hierarchy.

I would like to show the lowest value level selected as a slicer header.

The standard "Show summary" functionality ends up showing all the levels of the hierarchy and this measure doesn't seem to work when used as a field value in the slicer header function (although it works when used in a card)

 

Product slicer header =
"Product (select P4 level): " & SELECTEDVALUE( DimProduct[Product Family (P4)]  )
 
Do you know if this is possible?
 
Kind regards,
Olga
4 REPLIES 4
RMDNA
Solution Sage
Solution Sage

Hi @itskool - could you provide an example pic of the incorrect result when you do use the measure as a title?

Here it is: there is a selected valued after semicolon in the card visual but nothing in the header slicer when the same measure is added as a "function"

itskool_0-1682002531802.png

 

Hi @itskool - if you've assigned the measure as your title via conditional formatting, I don't see a reason why it wouldn't return the same value as in the card.

 

Dumb question - does it appear when you make the slicer visual larger or the title font size smaller? There may not be enough space in the header to display the full value.

That was my first thought too, but no, unfortunately not 😞

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors