Forum Discussion

peffany's avatar
peffany
Frequent Visitor
3 years ago
Solved

How to conditionally format a card

Hello there,

 

Is there any way of conditionally formatting a Card in PowerBi?

 

I want it so that dates older than today (14/04/2023) are highlighted in red. I can't seem to find the conditional format button under "Fields" in "Visualizations"

 

Here is a picture of the cards that should be highlighted.

 

Thanks in advance for the assistance. 

 

Peffany

 

 

  • Hi,

     

    if you go onto the format visual and select font, callout value - you can conditionally format that:

     

    If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

3 Replies

  • DOLEARY85's avatar
    DOLEARY85
    Resident Rockstar

    Hi,

     

    if you go onto the format visual and select font, callout value - you can conditionally format that:

     

    If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

  • peffany's avatar
    peffany
    Frequent Visitor

    Oh yeah. That was too easy 🙂 Another question...

     

    What do I have to do in order to highlight days previous to today?

     

     

    • DOLEARY85's avatar
      DOLEARY85
      Resident Rockstar

      You'll probably want to create a measure to flag days in the data that are previous to today as 1 and all other 0 then use that measure as the conditional formatting field

       

      If I answered your question, please mark my post as solution, Appreciate your Kudos 👍