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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Conditional formatting on cards in dashboard does not work

Hi,

 

I have a dashboard with several cards that change font color based on the shown data (conditional format). This works fine on the desktop version and also when I publish the report. However, when I pin the card to a dashboard, the conditional formatting is lost. This is true no matter if I choose "Keep current theme" or "Use destination theme". Any ideas to fix this?

 

Thanks Martin

 

3 REPLIES 3
JFAR49ER
Frequent Visitor

A workaround for this issue is to use the table visual, go to edit the visual, go to Cell elements and you can set conditional formatting for the background colour of the cell. 
This will allow the conditional formatting to be pinned to the dashboard. It may not be as nice looking as card visual but for functionality it works. 
JFAR49ER_0-1673344346381.png
James 

 

V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

This issue has been reported internally, you can focus on the issue.

https://community.powerbi.com/t5/Issues/Conditional-formatting-Not-working-in-Power-BI-service/idi-p/990377 

 

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

ibarrau
Super User
Super User

Hi. This is a Power Bi problem. Having states in card is quite new and they haven't figure that out. What I do in this case is using a custom visual that is similar:

https://okviz.com/card-with-states/

That visual is almost the same and will keep the format in dashboards.

 

Regards


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors