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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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.