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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors