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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.