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
KauanDegenhart
New Member

TEXTO

Olá, o Power BI não está permitindo que eu coloque dados do tipo texto em um simples cartão, ele só permite colocar DAX, eu tento arastar uma coluna do tipo texto para o cartão e simplesmente ele não permite, como posso resolver isso ?

1 ACCEPTED SOLUTION
v-nuoc-msft
Community Support
Community Support

Hi @KauanDegenhart

 

Thank you very much rajendraongole1 for your prompt reply.

 

To create dynamic headers that change based on the filters applied, you can use expression-based headers in Power BI. Here's a step to set it up:

 

Create a measure. Write a DAX formula that returns the required text according to the slicer. Such as

 

Measure = "Title: " & SELECTEDVALUE('Table'[Title])

 

 

Select card viusal. Go to the Visualizations panel and expand the General section.


Activate the Title option. Next to the title text field, click the Conditional Format (fx) icon.


In the dialog box that appears, select the title Dynamic measure you created and click OK.

 

vnuocmsft_0-1724402010295.png

 

vnuocmsft_1-1724402229134.png

 

You can view the link below for more details:

 

Expression-based titles in Power BI Desktop - Power BI | Microsoft Learn

 

Regards, 

Nono Chen 

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

3 REPLIES 3
v-nuoc-msft
Community Support
Community Support

Hi @KauanDegenhart

 

Thank you very much rajendraongole1 for your prompt reply.

 

To create dynamic headers that change based on the filters applied, you can use expression-based headers in Power BI. Here's a step to set it up:

 

Create a measure. Write a DAX formula that returns the required text according to the slicer. Such as

 

Measure = "Title: " & SELECTEDVALUE('Table'[Title])

 

 

Select card viusal. Go to the Visualizations panel and expand the General section.


Activate the Title option. Next to the title text field, click the Conditional Format (fx) icon.


In the dialog box that appears, select the title Dynamic measure you created and click OK.

 

vnuocmsft_0-1724402010295.png

 

vnuocmsft_1-1724402229134.png

 

You can view the link below for more details:

 

Expression-based titles in Power BI Desktop - Power BI | Microsoft Learn

 

Regards, 

Nono Chen 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

rajendraongole1
Super User
Super User

Hi @KauanDegenhart - Next time, can you please convert to english and share it for better visibility. 

As per my understanding using translator ,cards are typically used to display numerical values or aggregated data. However, if you want to display a single text value on a card you can create a measure as below and it works as follows

 

rajendraongole1_0-1723552789541.png

 

rajendraongole1_1-1723552873675.png

 

Hope it helps.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Thanks for replying @rajendraongole1 , actually what I need is to put a conditional formatting on a title, but there is also not allowing to put text, I have a filter on my page, and I want the title of a graphic to change according to the filter, and for that I need to put a conditional formatting of type text, But Power BI isn't allowing it.
In another project, I can do this easily, it seems to be some configuration that is applied, I have looked for everything but I did not find out what it is about.

KauanDegenhart_0-1723554162355.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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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