Showing results for 
Search instead for 
Did you mean: 

Conditional Refresh Based on Date

I'd like to construct a refresh that only executes when the date is more than the 5th day of the month.  The table is a calendar table that automatically moves the current period designations along with the current calendar date.  During that first week is when the analysis of the month occurs.  Freezing the calendar dimensions is needed.


However, the other data tables would need to continue to be refreshed during that first week.


Any ideas?

Community Support
Community Support

Hi @PowerUp1 ,

As far as I know, currently 'conditional refresh' would mean incremental refresh to refresh the date range data in power bi.

Please refer this document about incremental refersh: Incremental refresh in Power BI 


Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



Hi @Jimmy801 


Thanks for the thoughts.


The data set is a comprehensive date table which provides a number of relative values.  For example, if refreshed on February 28th the compared periods are all relative to February (prior year month, same month prior quarter, etc.).  Once refreshed in March all of those relative periods change.


I don't have control over the date table, therefore looking to 'pause' the refresh for that table only to give a window for analysis.


Your comment about referring to another table might work if I combined it with a M If statement.  Let me play with that.

Community Champion
Community Champion

Hello @PowerUp1 


okay, give it a try and let us know





Community Champion
Community Champion

Hello @PowerUp1 


I don't know anything about conditional refresh in this regard. What exactly is your query containing? Is it applying a filter based on a date or choosing a file according to the date?

Because the only thing you could do is to include in your query a if step that checks the current day and if its >5 then query is running normally and if not refer to a other table, file or apply another filter.

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun


Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors