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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.