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
I've recently started getting the error "XXXXXX was disconnected from one or more data sources. To reconnect, go to dataset settings or ask the dataset owner for help." I'm the dataset owner; I have gone to settings and there are no issues that I can see. I haven't made any recent changes to the data sources or any other settings, just out of the blue I'm getting this error. There is only one report it's happening in.. I've done some searching online but the solutions I've found haven't worked for me (i.e. refreshing/re-entering credentials, clearing the cache and retrying). Also, the banner saying there are pending changes in my queries that haven't been applied will not go away. I click on the bar to apply changes, it apparently does then the banner pops right back up. I go into transform data, search though all tables without issue, refresh, then close and apply, and immediately after refreshing the banner pops up again. If I discard the changes, it indicates it's a problem with Privacy Levels. Any help would be greatly appreciated, this has become extremely frustrating!
Solved! Go to Solution.
I've had some time to test this more, and I believe I found a solution. For some reason when I was republishing it was removing 'Maps To' selection in the Data Source Settings > Gateway and Cloud Connection. I noticed this after changing the data sources from cloud, so I'll need to undo that and recheck but for the interim is working.
Hi all, I got this message as well, but for a Dataflow which shouldn't need a gateway. So first check if any of the data sources you are connected to needs a gateway. If not, then go to 'Manage connections and gateways', under the tab Connections. In my case there were 2 entries for one data connection which I use for some dataflows. I deleted the one connected to a gateway. Then I refreshed the report in Power BI Desktop and republished it. The message now no longer appears.
Similar to you, I have noticed the same issue when I attempt to mix Import and Direct Connect to existing datasets. Everything works fine on desktop, but upon publishing the report, pbi disconnects the Direct Connect connection and presents that error message.
However, If i start with a direct connect to an existing dataset (no local connections) and publish it, everything works.
If I then add a local table, the message 'A directquery connection is required' appears. I accept the change, and add the local table and publish it - i then receive the 'file was published but disconnected' error. (desktop connection runs fine with items that i pull in from the direct connect).
I have checked permissions of all of the datasets that I want to link to, and all seems fine, but I am obviously missing something very important, as anytime I attempt to mix Import with Direct Connect i receive this message.
Note: All of the workspaces are PRO only licensing.
@mterry can you open transform data, go to project_dets table and refresh the preview and then close and apply and see if it works.
👉 Learn Power BI and Fabric - subscribe to our YT channel - @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤️
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
no - straight refresh did not fix the issue. Note: i am using Pro workspaces
Well I went in and deleted all the data sources, reconnected them using the path from my local machine rather than SharePoint, and still getting the same message?
Unfortunately that didn't work either. I think I'm going to try rebuilding it and see if that does the trick. I appreciate the assistance.
@mterry can you change the privacy level (ignore) and then test it?
👉 Learn Power BI and Fabric - subscribe to our YT channel - @PowerBIHowTo
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Ok I tried that, and the original error is gone, but now it says 1 query is blocked by the following error: Query 'project_dets' (step 'Filtered Rows') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.
Would I be better off deleting these data sources and re-doing it? Seems like that may be less effort if it solves the issue?
@mterry are you doing any sort of merging in PQ between two different data sources?
👉 Learn Power BI and Fabric - subscribe to our YT channel - @PowerBIHowTo
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
I've had some time to test this more, and I believe I found a solution. For some reason when I was republishing it was removing 'Maps To' selection in the Data Source Settings > Gateway and Cloud Connection. I noticed this after changing the data sources from cloud, so I'll need to undo that and recheck but for the interim is working.
I just deleted the report from Fabric and then republished it and it seemed to work fine. Just annoying as I had to set up the subscription emails again.
Well this morning that proved not to be the case. A test BI file I had published without error - when I republished this morning, then gave me the same error.
mterry - let me know what your progress has been - i am having the same issues (see above) - i'll share if i reach any conclusions - thanks
Hey what worked for me was going into the data set setting in the service, and in the section for Gateway and Cloud connections the 'Maps to' drop down was getting reset to blank values, so I had to udpate that. I changed it there, saved, and that seemed to do the trick for me, at least for the time being.
Interesting - mine is a straight data import into the pbix - no funny business with PQ either. Interesting - i get the error message upon deployment, but everything works in the service just fine
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 |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
146 | |
97 | |
79 | |
69 |