March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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.
Solved! Go to Solution.
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
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
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:
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.
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:
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.
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
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |