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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors