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

Power Query - Incremental refresh - get name of current query

Hi,

 

For the purpose of handling query folding in ODBC incremental refresh with detect changes, I would like to improve query to have different query for the detect changes part (names ***Canary). 

To do that i want to create a paramter that have different query for default query and the one searching for max modified date within "***Canary" query. Hence i need to figure out if current query contains "Canary" in its name. 

 

Could you help finding a fucntion to identify what is current query name? 

3 REPLIES 3
mdzej
New Member

thx, what i thought is to configure the main query to read if its canary or std, and than for canary take only max date, instead of full query. This would make quering the source faster, as there is no query folding -> connecting through google big query odbc driver.

I don't think there is a way to probe which of the queries is running.

lbendlin
Super User
Super User

1. The "canary"  query cannot be administered / modified by you. It is entirely controlled by the Power BI Service

2. I hope you are aware that by selecting change detection you are immediately doubling the amount of storage required, and probably the compute load too. Use only if you are absolutely sure that it provides value.

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.