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

3 REPLIES 3
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

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors