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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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