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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Dynamic title on card visual card

Hi,

I am trying to make the title of the card visual dynamic based of the slicer selectoin. In the property section of the card visual under Title I select fx, but it does not allow me to select the Title measure I have created under Based on field as in below screenshot

does anyone know why?

I did similar steps in this article:

https://pbivisuals.com/2021/04/04/power-bi-dynamic-title-based-on-slicer/

 

2021-09-15_8-24-04.png

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , Check if the data type is text on not. Try a measure with text data type and check

 

You can add

& ""

 

to convert measure to text

Anonymous
Not applicable

@amitchandak , it is a measure not a field.

the meausre is:

 

Title Insurance =
SWITCH(TRUE(),
SELECTEDVALUE(Location[Country Code]) ="AU","AAA",
SELECTEDVALUE(Location[Country Code]) ="NZ", "BBBB",
"ABB")

I tried what you said and didn't reproduce your issue.

Vlianlmsft_0-1631863353157.pngVlianlmsft_1-1631863385812.png

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors