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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Syndicate_Admin
Administrator
Administrator

Connection to two different databases

Good...

I have a query made to an EXCEL table and I want to get data from a table in POSTGRESQL, which I would like to synchronize later.

As I want to perform the query of both databases, an error comes out that you can not fold over the native query, modify the native query (I do not know what I have to modify) or remove the "EnableFolding" option, which even if I delete it, I still cannot connect.

Thanks in advance.

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Syndicate_Admin ;

To disable native query folding, set the EnableFolding flag to false for Value.NativeQuery() in the advanced editor.

vyalanwumsft_0-1665036426355.png

 

vyalanwumsft_1-1665036426361.png

Solved: PowerBI EnableFolding - Microsoft Power BI Community

Solved: Query Folding - disable? - Microsoft Power BI Community

For scenarios where you get errors because query folding wasn't possible, it is recommended that you try validating your steps as a subquery of your original native query to check if there might be any syntax or context conflicts.
Query folding on native queries - Power Query | Microsoft Learn


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-yalanwu-msft
Community Support
Community Support

Hi, @Syndicate_Admin ;

To disable native query folding, set the EnableFolding flag to false for Value.NativeQuery() in the advanced editor.

vyalanwumsft_0-1665036426355.png

 

vyalanwumsft_1-1665036426361.png

Solved: PowerBI EnableFolding - Microsoft Power BI Community

Solved: Query Folding - disable? - Microsoft Power BI Community

For scenarios where you get errors because query folding wasn't possible, it is recommended that you try validating your steps as a subquery of your original native query to check if there might be any syntax or context conflicts.
Query folding on native queries - Power Query | Microsoft Learn


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.