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

View all the Fabric Data Days sessions on demand. View schedule

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors