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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Usha_pk
Helper II
Helper II

How to get the corresponding dynamic title based on the year selection

Hi team,
@Greg_Deckler @amitchandak @Ritaf1983 @johnt75 @PaulDBrown @sevenhills @Ahmedx 
I'm working on requirement where it has two years year1 and year2

Usha_pk_0-1701156859138.png

Now if I select year 2023, then the corresponding year2 will appear i.e., 2023,2024,2025,2026,2027.

Usha_pk_2-1701156939677.png

So my requriement is like, for example If I select 2023 in year1 slicer then my title should change dynamically based on year2. In short my dyamic title for the visual should be "Assumption years are 2023-2027"

Can anyone helpme out with this. Thanks a lot!!

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Usha_pk 
You can create a measure 
Title = "Assumption years are "  & min('year1'([year])) & "-" & max('year2'[year]))

and put it on the title with conditional formatting

Ritaf1983_0-1701157732725.png

If this post helps, then please consider Accepting it as the solution to help the other

members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @Usha_pk 
You can create a measure 
Title = "Assumption years are "  & min('year1'([year])) & "-" & max('year2'[year]))

and put it on the title with conditional formatting

Ritaf1983_0-1701157732725.png

If this post helps, then please consider Accepting it as the solution to help the other

members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

@Ritaf1983 Thank you, It helped to solve my issue.

@Usha_pk 
Glad to help 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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