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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
julrua
Frequent Visitor

Dynamic Title

Hello everyone, 

 

 

Sorry I am new to Power BI - it might be obvious. 

 

I want to create a dynamic title that display a text only if one option of my slicer is selected

For example, if Project 2 [column project definitin] is selected I want the title to display the description [column project description]. However, blanck if there is multiple selection. 

 

Thank you in advance. 

2 ACCEPTED SOLUTIONS
mahoneypat
Microsoft Employee
Microsoft Employee

You should be able to just put a measure in a card with this expression.

 

Description = SELECTEDVALUE(Table[Description Column])

 

If you want to concatenate it with text you can too.

 

Description = "The description for this project is: " & SELECTEDVALUE(Table[Description Column])

 

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

v-yingjl
Community Support
Community Support

Hi @julrua ,

If you only want to show the title in the card visual, you can create a measure like this:

Title = 
IF (
    NOT ( ISFILTERED ( 'Table'[definition] ) ),
    BLANK (),
    SELECTEDVALUE ( 'Table'[description] )
)

If you want to show the title dynamically in other visuals(for example table visual), enable the title in the visual and apply conditional format for it:

format.png

title.png

Attached a sample file in the below, hopes to help you.

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yingjl
Community Support
Community Support

Hi @julrua ,

If you only want to show the title in the card visual, you can create a measure like this:

Title = 
IF (
    NOT ( ISFILTERED ( 'Table'[definition] ) ),
    BLANK (),
    SELECTEDVALUE ( 'Table'[description] )
)

If you want to show the title dynamically in other visuals(for example table visual), enable the title in the visual and apply conditional format for it:

format.png

title.png

Attached a sample file in the below, hopes to help you.

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mahoneypat
Microsoft Employee
Microsoft Employee

You should be able to just put a measure in a card with this expression.

 

Description = SELECTEDVALUE(Table[Description Column])

 

If you want to concatenate it with text you can too.

 

Description = "The description for this project is: " & SELECTEDVALUE(Table[Description Column])

 

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.