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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Moon_Embrace252
Regular Visitor

PowerBI -Dynamic-Title

In powerBI, when I try to add Dynamic title for a visual and apply conditional formatting for Title by going into Title-title-text box,  Ok button is missing.

Moon_Embrace252_0-1714761668682.jpeg

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Moon_Embrace252 
The dynamic title should be a measure. 
For example to achieve the title like on the picture :

Ritaf1983_0-1714796439959.png

with selected year and red color in case of profits that are less than 2.5 % ,
I need to create a measure for the title :

Dynamic title = if([profits _ %] > 0.025,"The profits (%) for: " & MAX('Calendar'[Year])  & " greater than 2.5 % " ,
 "The profits % for " & MAX('Calendar'[Year])  & " less than 2.5 % "
Ritaf1983_1-1714796557626.png

To put it at the visual :

Ritaf1983_2-1714796640413.png
Ritaf1983_3-1714796719965.png

and now I can get a desired color with conditional formatting based on the title measure or on the value of the visual :

Ritaf1983_4-1714796839673.png

The pbix is attached you can follow my steps

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

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Moon_Embrace252 
The dynamic title should be a measure. 
For example to achieve the title like on the picture :

Ritaf1983_0-1714796439959.png

with selected year and red color in case of profits that are less than 2.5 % ,
I need to create a measure for the title :

Dynamic title = if([profits _ %] > 0.025,"The profits (%) for: " & MAX('Calendar'[Year])  & " greater than 2.5 % " ,
 "The profits % for " & MAX('Calendar'[Year])  & " less than 2.5 % "
Ritaf1983_1-1714796557626.png

To put it at the visual :

Ritaf1983_2-1714796640413.png
Ritaf1983_3-1714796719965.png

and now I can get a desired color with conditional formatting based on the title measure or on the value of the visual :

Ritaf1983_4-1714796839673.png

The pbix is attached you can follow my steps

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.