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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
jeroen_guns
Advocate I
Advocate I

Incremental refresh > no data > Empty partitions

Hi,

 

Trying incremental refresh on one datawarehouse tabel. Yet the result is no data is loaded and available.

I've load a facttabel with these load date/times. In powerBI desktop everything look fine and 8 million records are imported.

 

2022-03-28 00:00:00.000
2022-03-29 00:00:00.000
2022-03-30 00:00:00.000
2022-03-31 00:00:00.000
2022-04-01 00:00:00.000
2022-04-04 00:00:00.000

 

jeroen_guns_0-1649159054824.png


= Table.SelectRows(HCS_vw_Feit_verrichtingenTest_incremental_load, each [Loaddate] > RangeStart and [Loaddate] < RangeEnd)

 

jeroen_guns_1-1649159108490.png

 

I've then uploaded it to the powerBI service and refreshed multiple times. Yet there is no data available in the dataset/report.
If I use the xmla endpoint and look at it in SSMS I see that the partitions have been made but they contain no data. Number of rows is zero.

jeroen_guns_2-1649159223359.png

 

The native query looks ok
from [HCS].[vw_Feit_verrichtingenTest_incremental_load] as [_]
where [_].[Loaddate] > convert(datetime2, '2022-03-28 00:00:00') and [_].[Loaddate] < convert(datetime2, '2099-01-01 00:00:00')

Aad if I view the json it also looks ok.
{
"createOrReplace": {
"object": {
"database": "Test_feit_DWH_icremental load",
"table": "HCS vw_Feit_verrichtingenTest_incremental_load",
"partition": "2022Q20405"
},
"partition": {
"name": "2022Q20405",
"mode": "import",
"source": {
"type": "policyRange",
"start": "2022-04-05T00:00:00",
"end": "2022-04-06T00:00:00",
"granularity": "day"
}
}
}
}

So Why do I not have any Data after implementing incremetal refresh. Anyone have an idea?

 

 

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @jeroen_guns 


The reason is that you need the start to be >= and the end to be < 

This happens because when the data is passed it does it for your example as the following when sent via PBI it would be: 
where [_].[Loaddate] > convert(datetime2, '2022-03-28 00:00:00') and [_].[Loaddate] < convert(datetime2, '2022-03-29 00:00:00')

 

Based on your example if you could change it to the following:

 

= Table.SelectRows(HCS_vw_Feit_verrichtingenTest_incremental_load, each [Loaddate] >= RangeStart and [Loaddate] < RangeEnd)

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

4 REPLIES 4
GilbertQ
Super User
Super User

Hi @jeroen_guns 


The reason is that you need the start to be >= and the end to be < 

This happens because when the data is passed it does it for your example as the following when sent via PBI it would be: 
where [_].[Loaddate] > convert(datetime2, '2022-03-28 00:00:00') and [_].[Loaddate] < convert(datetime2, '2022-03-29 00:00:00')

 

Based on your example if you could change it to the following:

 

= Table.SelectRows(HCS_vw_Feit_verrichtingenTest_incremental_load, each [Loaddate] >= RangeStart and [Loaddate] < RangeEnd)

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

After few days of deep dive into potential query folding problems here is the answer for my issue, simple and straightforward 🙂 Thank you!

The difference an equal sign can make 😅

Yeah those small things make a big difference!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.