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

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

Reply
H0tMess
New Member

Data set not updating date conditions

Greetings, 

 

I am creating a dashboard that includes dates in addition to a geo plot of a location for an event. Ideally, I would like any dates that have passed to turn red, while future dates remain green. I am able to get the conditions to work when I create the report, however the conditions do no update once the report is saved, I've tried refreshing both the database and report. I am using the Cloud version of Power BI.

Conditional format for dates (accurate when created)Conditional format for dates (accurate when created)Conditional format of  plotsConditional format of plots

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Not correct to use calaculated columns from excel into Power BI and expect the refresh to goes well.

Use DAX to replicate your formula into Power BI. You can also use conditional formatiing on the data column like

aj1973_0-1703783307033.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

6 REPLIES 6
aj1973
Community Champion
Community Champion

Hi @H0tMess 

Can you show the condition applied?

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

The condition for the geo is under the Bubbles > color > Default conditional format. 

In the conditional formatting, I am using Gradient based off a column in an excel file. 

- To keep it short, in the excel file there is a column, that will put a 1 or 0 based on the date being after the current date.  I've confirmed the excel formula is working correctly, shows all past dates as a 1. I can post a pic if needed, just have to go between two computers to do so. 

aj1973
Community Champion
Community Champion

I see,

The formula you applied in Excel won't be applied in Power BI. It is better to remove all calculated columns from Excel and use DAX in Power BI to replicate them. 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

To clarify, the formula in the excel puts a 1 or 0 into the column. Power BI is just checking that cell to see if its a 1 or 0 and formatting it based on that number.  *This is at least how I am inturperiting the interaction. 

Is that incorrect?   Thank you again for the quick replies. 

aj1973
Community Champion
Community Champion

Not correct to use calaculated columns from excel into Power BI and expect the refresh to goes well.

Use DAX to replicate your formula into Power BI. You can also use conditional formatiing on the data column like

aj1973_0-1703783307033.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

I wanted to provide a small update. I added another row of data to my database and it seems the report updated the expired date to the appropriate color. It seems the conditioning is only being updated on the data as it is initially populated. 

I will take a look at how to use DAX to replicate the formula in BI. Thank you again. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.