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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
akasthan
Employee
Employee

Incremental refresh not working

Hello, 

I have setup an incremental refresh on our dataset and despite the data having new values, it is not being reflected in PowerBI dashboard.

 

Here the data source is Azure Data Lake Storage Gen 1 and file being a .tsv file. When I was setting up incremental refresh I did get the warning that "Unable to confirm if the M query can be folded. It is not recommended to use incremental refresh with non-foldable queries.".

 

M query being

let
Source = DataLake.Contents("adl://ffo-prod-c14.azuredatalakestore.net/local/Analytics/PrivacyManagement/PowerBITemp/", [PageSize=null]),
#"MPU tsv" = Source{[Name="MPU.tsv"]}[Content],
#"Imported CSV" = Csv.Document(#"MPU tsv",[Delimiter="#(tab)", Columns=16, Encoding=65001, QuoteStyle=QuoteStyle.None]),
#"Promoted Headers" = Table.PromoteHeaders(#"Imported CSV", [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"TenantId", type text}, {"UserId", type text}, {"PolicyMode", type text}, {"PrivacyManagementScenario", type text}, {"DigestEmailEnabled", type logical}, {"TeamsInTheMomentEnabled", type logical}, {"Date", type datetime}, {"TenantName", type text}, {"Country", type text}, {"HasE1License", type logical}, {"HasE3License", type logical}, {"HasE5License", type logical}, {"TenantSize", type text}, {"Industry", type text}, {"IsS500", type logical}, {"IsS2500", type logical}}),
#"Filtered Rows" = Table.SelectRows(#"Changed Type", each [Date] >= RangeStart and [Date] <= RangeEnd)
in
#"Filtered Rows"

 

 

akasthan_0-1636379580555.png

I further increased the refresh rows condition to 6 months and disabled detect data change but upon refresh in PowerBI portal, data is not getting refreshed.

 

Can someone help me point out if I am doing something wrong?

Also whether Azure Data Lake Storage Gen1 supports incremental refresh or not? If not is there any alternative way using which I can pull large dataset from ADLS to PowerBI?

 

Can share more details if needed. 

Thanks

Akash

2 REPLIES 2
akasthan
Employee
Employee

Hi @v-rzhou-msft 
The refresh operation is getting completed successfully but I cant find the latest values in the data. 
Date/Time parameter is fine. Both RangeStart and RangeEnd are of Date/Time format only.

v-rzhou-msft
Community Support
Community Support

Hi @akasthan 

The warning that "Unable to confirm if the M query can be folded. It is not recommended to use incremental refresh with non-foldable queries." doesn't means your data source couldn't set incremental refresh. This warns you that your data source doesn't support query fold, incremental refresh may not have a good performance when refresh. 

Can you refresh your report successfully?

Is your problem that your refresh is successful but you couldn't find the latest value?

Here is a blog about setting incremental refresh for Azure Data Lake Storage.

For reference:

Parquet, ADLS Gen2, ETL, and Incremental Refresh in one Power BI Dataset

Please check your data/time parameter.

Cannot set up incremental refresh

 

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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