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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors