【问题标题】:How to perform incremental refresh on union'd tables?How to perform incremental refresh on union\'d tables?
【发布时间】:2022-12-02 00:13:45
【问题描述】:

In Transform window, I have created queries for 2 tables (tblA and tblB)

Then I have used union to combine the both tables into new 3rd table (tblC)

From this 3rd table I have created star schema model as 4 dimension and 1 fact table.

There is large amount of data resulting in slow refresh time and load on source SQL Server db.

I want to try incremental refresh but I'm finding this confusing as it looks like this needs configuring in the data model, and not in the Transform window where the query is performed?

So should the incremental refresh be configured on the 2 source tables (tblA, tblB) or the final 3rd table tblC or the dimension/fact tables created from tblC?

【问题讨论】:

    标签: powerbi


    【解决方案1】:

    You shouldn't even load tblA and tblB into the model, so youmustconfigure incremental refresh on tblC.

    To do this the Power Query for tblC must include the RangeStart and RangeEnd parameters. These parameters mayalsobe used directly in the queries for tblA and tblB.

    【讨论】:

    • From tblC I have created 4 dim tables, and tblC is my fact table. So if I apply incremental refresh to tblC then will it automatically refresh data for 4 dim tables as well?
    猜你喜欢
    • 2022-12-01
    • 2022-12-02
    • 2022-12-02
    • 2022-12-02
    • 2013-01-14
    • 2022-12-16
    • 2022-12-01
    • 2022-12-01
    • 2022-12-02
    相关资源
    最近更新 更多