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
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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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