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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Varishtha
Helper I
Helper I

Query Folding with MySQL

My data sits in MySql and I want to use incremental refresh feature, but it seems like my queries are not foldable. I checked every step in power query and 'View Native Query' option was greyed out for all steps, which means at no step can my query be folded. I read somewhere that without foldable queries incremental refresh is useless. How can I get around this?

Also can i use incremental refresh on more than 1 table inthe same power bi file?

1 ACCEPTED SOLUTION
edhans
Community Champion
Community Champion

According to Query folding on native queries - Power Query | Microsoft Learn MySQL isn't supported for Query Folding, so this will not work. I am not aware of any way around it. To fold, Power Query needs to understand the query language of the server it is connected to and send the SQL commands back to have the server process it. It doesn't look like MS has included MySQL as a supported engine.

 

Without folding, IR is useless. If you have 6 partitions (months) for example, with IR, each month gets read into its proper partition and only recent months are refreshed. Without folding, the entire table is read in to every partition then whatever isn't needed is discarded, so it would actually in this example read the entire table in 6 times. So worse than useless, it will slow you down.

 

However, if you can get a supported datasource, then yes you can set up IR on as many tables in a single semantic model as you want.

 

Query folding on native queries - Power Query | Microsoft Learn



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

1 REPLY 1
edhans
Community Champion
Community Champion

According to Query folding on native queries - Power Query | Microsoft Learn MySQL isn't supported for Query Folding, so this will not work. I am not aware of any way around it. To fold, Power Query needs to understand the query language of the server it is connected to and send the SQL commands back to have the server process it. It doesn't look like MS has included MySQL as a supported engine.

 

Without folding, IR is useless. If you have 6 partitions (months) for example, with IR, each month gets read into its proper partition and only recent months are refreshed. Without folding, the entire table is read in to every partition then whatever isn't needed is discarded, so it would actually in this example read the entire table in 6 times. So worse than useless, it will slow you down.

 

However, if you can get a supported datasource, then yes you can set up IR on as many tables in a single semantic model as you want.

 

Query folding on native queries - Power Query | Microsoft Learn



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.