The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
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
Hi @TeigeGao,