Forum Discussion
Query Folding - disable?
- 6 years ago
Hi Anonymous ,
After researching and testing,I am afraid that you could not turn off query folding currently.
However, you could vote for this idea which is similar to yours. Maybe it will be a feature of Power BI in the future.
It is possible to turn 'Folding' off!
Go to 'Edit Queries' and in 'APPLIED STEPS' click on 'Source'.
Then click in the command line (starts with 'Value.NativeQuery(' etc. and scroll to the end of the statement.
You'll see: '[EnableFolding=true]', change it to false.
That's it. Succes!
Unfortunately right now I cannot even load my SQL script because of this. So there is nowhere I can turn it off manually because nothing is loaded into pbix.
- rflora5 years agoFrequent Visitor
This may sound odd but if you remove the semicolon at the end of your query and give it an enter after that so the cursor moves down, it will work.
- h4ns3n3 years agoNew Member
Thanks. This solution works for me.
Connecting to postgres on AWS RDS.
I've been using Power BI since 2015 when it was still in beta release and this issue was already a pain to deal with. It seems no matter what we do, the Power BI team will continue doing whatever it can to make connecting to non-MS databases as a difficult as possible. When are you going to realize that cloud data solutions are ubiquitous. Just make Power BI THE platform to get insight and make it possible to connect to all the data all the time as easily as possible.