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
Anonymous
Not applicable

Persisting List

Hi All,

 

I'd like to do some incremental refresh, and i've been thinking about this:

2 tables, the one with the initial set and the second one with the increment.

I convert both of them to List, combine both list into the initial.

It does the combine but don't save the datas in the table.

 

Here's the code:

let
    SQL = "....",
    Source = ...,
    #"Changed Type" = Table.TransformColumnTypes(Source,{....),
    #"RefreshToList" = Table.ToList(#"Changed Type"),
    Datas = List.Combine({#"RefreshToList", Datas}),
    #"Converted to Table" = Table.FromList( Datas, Splitter.SplitTextByDelimiter(","), null, null, ExtraValues.Error),
    #"Renamed Columns" = Table.RenameColumns(#"Converted to Table",{...),
    #"Changed Type1" = Table.TransformColumnTypes(#"Renamed Columns",{...})
in
    #"Changed Type1"

 Datas is the initial set list and it's not been persisted, why ?

 

Thanks,

Christopher

2 REPLIES 2
TeigeGao
Solution Sage
Solution Sage

Hi @Anonymous ,

We cannot setup the incremental refresh using PowerQuery directly, List.Combine requires multiple dataset, but in your scenario, we can't use the Datas as the sataset. When we click the Refresh Preview button, the full dataset will be refreshed.

Actually, PowerBI Service provides the incremental refresh feature for Premium user, please refer to this blog: https://powerbi.microsoft.com/en-us/blog/incremental-refresh-in-power-bi-premium/

Best Regards,

Teige

Anonymous
Not applicable

Hi @TeigeGao,

 

Thank you for your reply.
I can't currently use the Premium feature and to be more specific about my case, the initial data (called Datas in my code) is not included in the report refresh, to avoid precisely that its content is cleaned up during an update.
 
I've been thinking to another thing:
- Doing my refresh to get my increment
- In Datas, I'm using func.InvokeAfter(f, #duration(....)) to delay the execution of the combine after the load of the increment but it gives me a circular reference error because it execute again the script when you use it's name.... 😞
 
I've seen something in Excel doing this but it's seems that it doesn't work in Power BI Desktop....
 
So if anyone have an idea 😉
Thanks,
Christopher

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.