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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
SurfingData
Frequent Visitor

Dynamic Parameter for refresh

I have a report that has a parameter in power query. It is a start date for my report to work from. parameter.PNG

 

I would like to publish this to the BI service and then on the first of the month every month I want to run this report.

WHat I do not know how to do is to set this parameter to be the 1st of the previous month every month.

 

So on Feb 1st, I want this report to run and have the parameter be set to Jan 1st. On March 1st, I want the parameter to be set to Feb 1st and so on. 

 

Is this possible?

 

Edit. In Dax I would do something like

= DATEADD(NOW(),-1,month)  

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @SurfingData ,

 

It looks like you need to use incremental refresh, and in a refresh scenario this feature is more suitable for you.

Incremental Refresh and Hybrid tables in Power BI: Load Changes Only - RADACAD

 

When configuring incremental refresh in Power BI Desktop, you first create two Power Query date/time parameters with the reserved, case-sensitive names RangeStart and RangeEnd. These parameters, defined in the Manage Parameters dialog in Power Query Editor are initially used to filter the data loaded into the Power BI Desktop model table to include only those rows with a date/time within that period. After the model is published to the service, RangeStart and RangeEnd are overridden automatically by the service to query data defined by the refresh period specified in the incremental refresh policy settings.

 

Incremental refresh for datasets and real-time data in Power BI - Power BI | Microsoft Learn

 

Best Regards,
Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @SurfingData ,

 

It looks like you need to use incremental refresh, and in a refresh scenario this feature is more suitable for you.

Incremental Refresh and Hybrid tables in Power BI: Load Changes Only - RADACAD

 

When configuring incremental refresh in Power BI Desktop, you first create two Power Query date/time parameters with the reserved, case-sensitive names RangeStart and RangeEnd. These parameters, defined in the Manage Parameters dialog in Power Query Editor are initially used to filter the data loaded into the Power BI Desktop model table to include only those rows with a date/time within that period. After the model is published to the service, RangeStart and RangeEnd are overridden automatically by the service to query data defined by the refresh period specified in the incremental refresh policy settings.

 

Incremental refresh for datasets and real-time data in Power BI - Power BI | Microsoft Learn

 

Best Regards,
Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.