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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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