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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
DataSpace
Helper I
Helper I

Incremental Refresh on custom SQL Query within Power BI

I have requirement to implement Incremental refresh in Power BI where it is using one set of SQL Queries to fetch the data from SQL server.

I have collected some information from this video that it is possible to implement with below steps.

1. Create RangeStart & RangeEnd Parameters.

2. Go to Power Query Editor --> click on Respective Query--> Click on Source --> Expand Function bar --> Add RangeStart and RangeEnd parameters properly.

As per the video, above steps to add parameters within M Code of the source will give incremental refresh.

Not sure if this video has partial info or I am lacking something.

When I am refreshing (with above steps) nothing is changing. it has same data as it was having before.

 

simply, How can I achieve incremental refresh with SQL query (instead of table) within Power BI?

 

Any suggestion/solution / comment /help is most welcomed.

2 REPLIES 2
DataSpace
Helper I
Helper I

Hi @NaveenGandhi ,

After source , there is no transformation steps.

date column in the table (in Power BI) has Date/time Datatype. range Parameters also has Date/Time format from dropdown list(in Manage parameters window), so this is also in Sync.

Any other check or steps you can highlight?

NaveenGandhi
Super User
Super User

Hi 

Do you have any transformation steps after source? Also can you check if the date/datetime format is being followed correct in the parameters according to the date column?

 If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors