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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Vaishali04
Helper III
Helper III

How to make dynamic parameters for incremental load

Hi,

 

I am facing two issues.

 

1. Not getting "Incremental refresh policies " option in settings of power bi desktop . I am using MAY 2020 version.

2. How to make parameters dynamic like today() -1. So that my parameter is always takes 1 days ago date from current date.

 

If someone knows about this please help!!

 

Thanks & Regards

Vaishali 

 

 

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Vaishali04 

 

Please see the documentation for Incremental refresh below.

https://docs.microsoft.com/en-us/power-bi/admin/service-premium-incremental-refresh

 

To set the end date at yesterday, you RangeEnd Query should be like below.

let
    Source = Date.AddDays( Date.From( DateTime.LocalNow () ), -1 )
in
    Source

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

3 REPLIES 3
Mariusz
Community Champion
Community Champion

Hi @Vaishali04 

 

Please see the documentation for Incremental refresh below.

https://docs.microsoft.com/en-us/power-bi/admin/service-premium-incremental-refresh

 

To set the end date at yesterday, you RangeEnd Query should be like below.

let
    Source = Date.AddDays( Date.From( DateTime.LocalNow () ), -1 )
in
    Source

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Thanku @Mariusz 

 

I need to implement incremental load and for that i need to define parameter and that parameter will used to fiter the table. So I want that parameter to be dynamic. So that my data is always is less than current date.

 

Please advice

Hi @Vaishali04 

 

The function provided should do just that if need guidance on how to apply it, please see the documentation in my previous message.

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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