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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply

Dynamic Title formula

Hi All,

 

Can some one help me with the below Dynamic title formula.

 

I want the title to be shown as"FY19 Declined/Lost Summary"

 

When i select the Slicer below it should be FY19 Slicer name and followed by Summary.

 

Untitled.jpg

2 REPLIES 2
Anonymous
Not applicable

@RanjanThammaiah -

This should work - the "HASONEVALUE" part just adds a space if there is only one value. You may not need that if a single value is guaranteed.

Outcome Filter = 
"FY 19 " 
& SELECTEDVALUE (Sheet1[Outcome])  
& IF(HASONEVALUE(Sheet1[Outcome]), " ", "") 
& "Outcome"

Hope this helps,

Nathan

Hi,

 

Thanks for the Formula. Life saver.

 

I have a slicer with "Declined" and "Lost", So if i select the One i am able to get the header as per the requirement.

i.e FY "19 Lost Summary "or "FY19 Declined Summary".

If i select the Both the result will be "FY19 Summary", So the problem creates here, If i select both i wanted to show the title as "FY19 Outcome Summay", Is this something easily achievable?

Outcome Filter =
"FY 19 "
& SELECTEDVALUE (Sheet1[Outcome])
& IF(HASONEVALUE(Sheet1[Outcome]), " ", "")
& "Summary"

 

Thank you so much again for your help.

 

Regards,

Ranjan

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors