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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
peffany
Frequent Visitor

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

 

peffany_0-1681462945665.png

peffany_1-1681462970435.png

 

1 ACCEPTED SOLUTION
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

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

 

DOLEARY85_0-1681463276377.png

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

View solution in original post

3 REPLIES 3
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?

 

peffany_0-1681463826067.png

 

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 👍

DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

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

 

DOLEARY85_0-1681463276377.png

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.