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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
robrob97
New Member

Issue getting date/time format for incremental refresh set up

Hi all, I have a singular dataset with source from starburst odbc. There are many millions of rows a month (20 million) and I would rather set up incremental refresh so it's just pulling in the latest data daily and I can have at least 4-5 months backlook in here. 

 

However, I have followed the steps from documentation and still have errors. https://learn.microsoft.com/en-us/power-bi/connect-data/incremental-refresh-configure#convert-dateti...

 

1. I tried to just make my date field a date/time field:

  • The format changed, but still when I try to filter the field, it only recognises it as a date. And so I cannot use RangeStart and RangeEnd to filter it by. 
  • Screenshot 2024-04-11 at 18.24.32.png

Screenshot 2024-04-11 at 18.24.38.png

2. I tried using the conversion steps to make my date an integer. But I get an error message when I try to add = Table.SelectRows(#"Reordered Column OrderDateKey", each [OrderDateKey] > DateKey(RangeStart) and [OrderDateKey] <= DateKey(RangeEnd)) to my query. Also how do I add this alongside the other information already in my query formula? 

 

Screenshot 2024-04-11 at 18.26.20.pngScreenshot 2024-04-11 at 18.26.54.pngScreenshot 2024-04-11 at 18.27.18.png

I have tried searching everywhere and videos, but nowhere is giving me different advice. So I am kind of stumped what to try...

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @robrob97 

When you filter the datt, it should not filter in power bi desktop, you need to filter it at power query.

When you set the paramaters(RangeStart and RangeEnd), you then filter the date/time column in power query.

vxinruzhumsft_0-1712886211844.png

Then it can use the paramaters.

vxinruzhumsft_1-1712886242119.png

And you can refer to the following link.

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

Best Regards!

Yolo Zhu

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 @robrob97 

When you filter the datt, it should not filter in power bi desktop, you need to filter it at power query.

When you set the paramaters(RangeStart and RangeEnd), you then filter the date/time column in power query.

vxinruzhumsft_0-1712886211844.png

Then it can use the paramaters.

vxinruzhumsft_1-1712886242119.png

And you can refer to the following link.

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

Best Regards!

Yolo Zhu

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

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors