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
devM
New Member

Shared dataset with incremental refresh growing rapidly

Dear community members,

I have an issue regarding shared dataset with incremental refresh.

Dataset contains 1 table with incremental refresh - set by date refreshing last month of data.

The size of dataset is roughly 500MB after initial refresh. 18 months of data, that is 540 days. Row count incoming to this dataset is roughly the same everyday. Therefore each day the dataset should grow by 0.9MB (540 days / 500MB).

Here comes the issue. Each new day the dataset in powerbi.com service grows by 5MB. This seems too much. With this rate, the dataset could grow to unmanable size quite fast.

Dataset is shared for two reports (reports consume it with live connection).
 
Any idea why it is growing so rapidly?
Could incremental refresh somehow cache old data?
1 ACCEPTED SOLUTION
devM
New Member

I mananged to solve the issue with modifying query for the table. Following two steps were removed:

#"Inserted Date" = Table.AddColumn(TableData, "Date", each DateTime.Date([DatetimeLocal]), type date),
#"Inserted Hour" = Table.AddColumn(#"Inserted Date", "Hour", each Time.Hour([DatetimeLocal]), Int64.Type),

Instead of power query, these are now calculated in DAX (after data is loaded from database). Hint for this change was warning message (shown on previous screenshot) saying Unable to confirm if the M query can be folded. Now the query is clean and dataset growth is smaller. Final query:

let
    Source = Sql.Databases(DB_Server),
    Table = Source{[Name=DB]}[Data],
    TableData = Table{[Schema="someschema",Item="sometable"]}[Data],
    #"Filtered Rows" = Table.SelectRows(TableData, each [DatetimeUtc] > RangeStart and [DatetimeUtc] <= RangeEnd)
in
    #"Filtered Rows"

 

View solution in original post

3 REPLIES 3
devM
New Member

I mananged to solve the issue with modifying query for the table. Following two steps were removed:

#"Inserted Date" = Table.AddColumn(TableData, "Date", each DateTime.Date([DatetimeLocal]), type date),
#"Inserted Hour" = Table.AddColumn(#"Inserted Date", "Hour", each Time.Hour([DatetimeLocal]), Int64.Type),

Instead of power query, these are now calculated in DAX (after data is loaded from database). Hint for this change was warning message (shown on previous screenshot) saying Unable to confirm if the M query can be folded. Now the query is clean and dataset growth is smaller. Final query:

let
    Source = Sql.Databases(DB_Server),
    Table = Source{[Name=DB]}[Data],
    TableData = Table{[Schema="someschema",Item="sometable"]}[Data],
    #"Filtered Rows" = Table.SelectRows(TableData, each [DatetimeUtc] > RangeStart and [DatetimeUtc] <= RangeEnd)
in
    #"Filtered Rows"

 

devM
New Member

Thanks for your response @v-xiaotang , though I did not find any mention why dataset size should grow so fast.

 

Table is set up like this:

devM_0-1655921493735.png

History is set for 10 years, table actually contains data just for the last two years.

This is query for this table:

let
    Source = Sql.Databases(DB_Server),
    Table = Source{[Name=DB]}[Data],
    TableData = Table{[Schema="someschema",Item="sometable"]}[Data],
    #"Inserted Date" = Table.AddColumn(TableData, "Date", each DateTime.Date([DatetimeLocal]), type date),
    #"Inserted Hour" = Table.AddColumn(#"Inserted Date", "Hour", each Time.Hour([DatetimeLocal]), Int64.Type),
    #"Filtered Rows" = Table.SelectRows(#"Inserted Hour", each [DatetimeUtc] > RangeStart and [DatetimeUtc] <= RangeEnd)
in
    #"Filtered Rows"

 

Why do you think this dataset grows by 5MB each day when it should grow just by 1MB?

v-xiaotang
Community Support
Community Support

Hi @devM 

Thanks for reaching out to us.

Please check the settings, FYI: Incremental refresh for datasets and real-time data in Power BI - Power BI | Microsoft Docs

vxiaotang_0-1655086396389.png

vxiaotang_1-1655086426646.png

Best Regards,

Community Support Team _Tang

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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