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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
1123
Frequent Visitor

Incremental refresh doesn't work

Hi, I hope you're all doing good and could help me to handle this issue...

 

I have Power BI Premium account (not sure if that's relevant though) and in Power BI desktop, I created a query defined RangeStart as 2019-01-01 01:00:00 and RangeEnd as 2019-01-01 01:01:00:

 
 

I filtered the related dataset in the query:

 

Capture3.PNG

 

I refreshed the report and it showed only the data which has CREATE_DATE between 2019-01-01 01:00:00 and 2019-01-01 01:01:00, and that makes perfect sense. Then I set the incremental refresh in the report:

Capture2.PNG

Then I refreshed the report. It reloaded the data but nothing has changed. It kept showing me the data which has CREATE_DATE between 2019-01-01 01:00:00 and 2019-01-01 01:01:00. My first question Q1: Is this normal?

 

Then I published the report in Power BI services and did refreshing there and again it kept showing me the data which has CREATE_DATE between 2019-01-01 01:00:00 and 2019-01-01 01:01:00. My second question Q2: How can I fix that?

 

In everywhere it's said that the dates that you choose for RangeStart and RangeEnd don't matter. However, in my case they seem like only things that matter!

 

What do you think?

 

Note: I tried to check whether the query is foldable or not but I am a bit confused, some relates visibility of "View Native Query" with foldability. And while that's greyed when I check the "Source" step, it's visible when I check other steps.

Capture5.PNG       Capture4.PNG

 

11 REPLIES 11
v-kelly-msft
Community Support
Community Support

Hi @1123

 

Q1: It's normal.

Q2: You can change the parameter of RangeStart and RangeEnd to change the time period you need for refresh.

 

Dates that you choose for RangeStart and RangeEnd of course matter, here is the reference.

 

https://docs.microsoft.com/en-us/power-bi/service-premium-incremental-refresh

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

 

Hi @1123 ,

 

Q1: Yes, this is normal.

Q2: What source are you using? 

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


1123
Frequent Visitor

Thanks for the reflection @mwegener !

 

My data source is an Oracle SQL database.

 

Hi @1123 

 

is your source a SQL query or a table?

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


1123
Frequent Visitor

Hi @mwegener; It's a table

 

Hi @1123 

 

can you share the M code from the advanced editor?

https://docs.microsoft.com/en-us/power-bi/desktop-query-overview#advanced-editor

Has the data been refreshed in the service without an error message?

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


1123
Frequent Visitor

Hi @mwegener 

Here the query:

let
Source = Table.Combine({Query1, Query2, Query3, Query4}),
#"Removed Columns" = Table.RemoveColumns(Source,{"col", "col2", "col3"}),
#"Filtered Rows" = Table.SelectRows(#"Removed Columns", each [CREATE_DATE] >= RangeStart and [CREATE_DATE] < RangeEnd)
in
#"Filtered Rows"

I haven't received any error during refresh

 

Hi @1123 ,

 

Your source consists of 4 further queries, how are these structured?

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


1123
Frequent Visitor

Hi @mwegener 

They all have similar structure:

let
Source = Oracle.Database("***DATABASECREDENTIALS***", [HierarchicalNavigation=true]),
TABLEX = Source{[Schema="TABLEX"]}[Data],
TABLE1 = TABLEX{[Name="TABLE2"]}[Data],
#"Added Custom" = Table.AddColumn(TABLE1, "Col9", each "TABLEX")
in
#"Added Custom"

 

Hi @1123,

 

I would also add the filtering to the subqueries to ensure that the query folding works and that the data is filtered directly at the source.

However, I see no reason why the values should not come from the source.

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Can you share a screenshot of the refresh history?

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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