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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ahmedshalabyy12
Resolver II
Resolver II

Incremental Refresh

Hello,

I have applied incremental refresh and it's working fine, however my question is there anyway to push the applied steps to the database ?

let
Source = Sql.Database(xxxxxxxxx),
#"Navigation 1" = Source{[Schema = "xxxxxx", Item = "xxxxxxx"]}[Data],
#"Filtered Rows" = Table.SelectRows(#"Navigation 1", each [report_week] >= RangeStart and [report_week] < RangeEnd)
in
#"Filtered Rows"

ahmedshalabyy12_1-1767183232779.png

 

 

Thank you

2 ACCEPTED SOLUTIONS
vojtechsima
Super User
Super User

Hey, @ahmedshalabyy12 ,

Your steps are already most likely pushed to the database, you can always verify by right-clicking the last step and see whether the View Native Query is greyed out or not.

 

vojtechsima_0-1767183635990.png

If you see it as in the picture not greyed out, you're folding your steps back to the source.

 

If you use clicking method, and you navigate through your database and then apply SelectRows as you did, most likely it's already pushed back.

 

Example:

= Table.SelectRows(dbo_base_warehouse_tasks, each [date]>= Date.StartOfMonth( [date]))

this will be folded back like this:

where [_].[date] >= datefromparts(datepart("yyyy", [_].[date]), datepart("m", [_].[date]), 1)

That's a snippet from the Native Query.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

View solution in original post

cengizhanarslan
Impactful Individual
Impactful Individual

That will fold to SQL (so SQL Server does the filtering) as long as folding is still enabled at that step.

How to confirm:

  • In Power Query, right-click the Filtered Rows step → View Native Query

    • If it’s enabled and shows a SQL statement with a WHERE clause, it’s folding (filter is pushed).

    • If it’s disabled, something earlier broke folding, and the filtering happens in Power Query instead.

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn

View solution in original post

2 REPLIES 2
cengizhanarslan
Impactful Individual
Impactful Individual

That will fold to SQL (so SQL Server does the filtering) as long as folding is still enabled at that step.

How to confirm:

  • In Power Query, right-click the Filtered Rows step → View Native Query

    • If it’s enabled and shows a SQL statement with a WHERE clause, it’s folding (filter is pushed).

    • If it’s disabled, something earlier broke folding, and the filtering happens in Power Query instead.

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn
vojtechsima
Super User
Super User

Hey, @ahmedshalabyy12 ,

Your steps are already most likely pushed to the database, you can always verify by right-clicking the last step and see whether the View Native Query is greyed out or not.

 

vojtechsima_0-1767183635990.png

If you see it as in the picture not greyed out, you're folding your steps back to the source.

 

If you use clicking method, and you navigate through your database and then apply SelectRows as you did, most likely it's already pushed back.

 

Example:

= Table.SelectRows(dbo_base_warehouse_tasks, each [date]>= Date.StartOfMonth( [date]))

this will be folded back like this:

where [_].[date] >= datefromparts(datepart("yyyy", [_].[date]), datepart("m", [_].[date]), 1)

That's a snippet from the Native Query.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.