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
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
v-yangliu-msft
Community Support
Community Support

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
v-yangliu-msft
Community Support
Community Support

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
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Top Solution Authors