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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
LD1
Helper III
Helper III

Dynamic title

Hi, 

 

I would like to create a dynamic title with several IF function. 

I tried with many formulas like below but they don't work 

 

LD1_0-1660655644791.png

 

or 

 

LD1_3-1660655877928.png

 

 

The aim is to integrate this formula just here but the data field is grey (i don't know why)

 

LD1_1-1660655746149.png

LD1_2-1660655818645.png

 

Thank you in advance, 

 

1 ACCEPTED SOLUTION
daXtreme
Solution Sage
Solution Sage

Hi there.

 

No idea why it's grayed out but I can give you a hint regarding writing formulas. Instead of nesting IF's, please use SWITCH. It's easier to read, easier to write and harder to make a mistake.

View solution in original post

2 REPLIES 2
LD1
Helper III
Helper III

Thank you ! 

All is worked ! 

(Formula + grayed out). 

Here is the solution for user :

 

SWITCH(SELECTEDVALUE(Temps[Année]),2023,"∆€ 2022",2022,"∆€ 2021",2021,"∆€ 2020",2019,"∆€ 2018","")

 

 

 

daXtreme
Solution Sage
Solution Sage

Hi there.

 

No idea why it's grayed out but I can give you a hint regarding writing formulas. Instead of nesting IF's, please use SWITCH. It's easier to read, easier to write and harder to make a mistake.

Helpful resources

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

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.