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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
MonicaNaidu
New Member

undefined

Hi 

I am facing issue with dynamic title 

I have an 3 level slicers with different leader levels

If i select leader A in level 1, title should show "dashboard for A"

Similarly if i select another leader X who is reporting to leader A under level 2, title should now show me " dashboard for X"

 

Basically title should change values dynamically based on latest selection of slicer

 

I used isfilter and selectedvalue in the measure but even though I selected someone on level2 it still gives me level 1 selection in the title 

 

To get the the level 2 selection appear on the title I need to unselct all in level 1 which is not my need

Any help or suggestions pls

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply from lbendlin , please allow me to provide another insight: 
Hi  @MonicaNaidu ,

I created some data:

vyangliumsft_0-1726715713658.png

Here are the steps you can follow:

1. Create measure.

Measure =
IF(
    HASONEVALUE('Table'[leader level3]),"dashboard for"&" "&SELECTEDVALUE('Table'[leader level3]),
    IF(
        HASONEVALUE('Table'[leader level2]),"dashboard for"&" "&SELECTEDVALUE('Table'[leader level2]),
        IF(
            HASONEVALUE('Table'[leader level1]),"dashboard for"&" "&SELECTEDVALUE('Table'[leader level1]),"Title")))

2. Title – fx.

vyangliumsft_1-1726715713660.png

vyangliumsft_2-1726715757707.png

3. Result:

vyangliumsft_3-1726715767427.png

vyangliumsft_4-1726715767429.png

vyangliumsft_6-1726715891448.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

2 REPLIES 2
Anonymous
Not applicable

Thanks for the reply from lbendlin , please allow me to provide another insight: 
Hi  @MonicaNaidu ,

I created some data:

vyangliumsft_0-1726715713658.png

Here are the steps you can follow:

1. Create measure.

Measure =
IF(
    HASONEVALUE('Table'[leader level3]),"dashboard for"&" "&SELECTEDVALUE('Table'[leader level3]),
    IF(
        HASONEVALUE('Table'[leader level2]),"dashboard for"&" "&SELECTEDVALUE('Table'[leader level2]),
        IF(
            HASONEVALUE('Table'[leader level1]),"dashboard for"&" "&SELECTEDVALUE('Table'[leader level1]),"Title")))

2. Title – fx.

vyangliumsft_1-1726715713660.png

vyangliumsft_2-1726715757707.png

3. Result:

vyangliumsft_3-1726715767427.png

vyangliumsft_4-1726715767429.png

vyangliumsft_6-1726715891448.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

lbendlin
Super User
Super User

How are you planning to enforce single selection in a hierarchy slicer?

 

lbendlin_0-1726665128720.png

 

 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.