Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

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

  • 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

  • JFAR49ER's avatar
    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. 

    James