March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Dear Microsoft team,
I spent the whole day since suddenly my report stop refreshing automatically after I changed a query against postgres. Never ever faced such error earlier:
---
---
Now I understand that latest Desktop version creates a m language statement like:
= Value.NativeQuery(PostgreSQL.Database("stpgpsdev.memc.com:5433", "postgres", [CreateNavigationProperties=false]), "select * from gen_site", null, [EnableFolding=true])
while previous version was creting statement like:
= PostgreSQL.Database("scmprddb1.memc.com:5448", "scmprd", [Query="select *, #(lf)planned_gm_date-deliv_date days_delay,#(lf)doc_num||item||shipping_plant as docitemplant#(lf)from shipments#(lf)where matl_grp IN ('EPI','GR1','MMT','SOI','SUBSTRATE')", CreateNavigationProperties=false])
There is no problem running the new version from desktop but NOW REFRESH ON SERVER ALWAYS FAILS
PLEASE FIX IT!!!!
removing [EnableFolding=true] from edit queries>select the query>advanced editor worked for me
yes this is the reccomandation from Microsoft too
@prguha wrote:removing [EnableFolding=true] from edit queries>select the query>advanced editor worked for me
Ok to remove manually [EnableFolding=true] from the advanced editor.
But without this option, in Power BI Desktop, the Direct Query is no longer working 😞
The problem with removing it is that every time you edit the Source via the UI, and then save a change, the setting returns.
Really just need a fix, or for the setting to be ignored if it's invalid.
Same happening with me since the recent update. This messes up the auto-refreshes and every time I have to manually change in the Power Query.
Same happening with me since recent update.This messes up the auto refrehses and every time
Have you tried opening the .pbix file from PowerBi.com/GetData? I've found changes to connections when published via PBI Desktop don't always get updated in PBI Service. Opening the file via PowerBI.com seems to force the service's copy of the connection to be refreshed with any changes.
I tried to open the file from power bi service following this steps but data refresh still throwing same error. Is this what you meant "with open from Power.com/getData?
Yes, that's what I meant... Go to PowerBI.com, click on "Get Data", go to "File" and open your .pbix. Opening the file in this manner seems to fix similar issues for me. I was connecting to a Web API rather than Postgres. PBI wouldn't update the credentials via online "Data source credentials". Opening the .pbix file from within the online service seemed to do the trick.
Thank so much for your suuggestion.
This could be a valuable temporary workarond but I'm seraching for a stable a definitive solution ;-).
I'm going to open a ticket to Microsoft.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
32 | |
24 | |
12 | |
11 | |
9 |
User | Count |
---|---|
47 | |
46 | |
23 | |
12 | |
9 |