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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors