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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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