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 have a composite model that includes a single Power BI dataset. The model also includes calculated tables that refer to tables in the Power BI dataset. Refresh works in Power BI desktop. In the Power BI service I successfully set all refresh credentials. However, when I publish and attempt to refresh I receive an error message:
"COM error: Microsoft.PowerBI.AS.ConnectionDetailsProvider, Single sign-on (SSO) credential is not provided which is required to execute the current request.. A connection could not be made to the data source with the Name of '<pii>{"protocol":"analysis-services","address":{"server":"powerbi://api.powerbi.com/v1.0/myorg/BI%20Shared%20Datasets","database":"SharedDatasetNameHere"},"authentication":null,"query":null}</pii>'. The database operation was cancelled because of an earlier failure."
Note, that when I remove all calculated tables from the model I can successfully refresh in the Power BI service. Is the ability to refresh composite models with calculated tables a current limitation in the Direct Query for PBI datasets feature?
Solved! Go to Solution.
theres a actual limitation on this aspect where calculated columns/tables using a compiste model between power BI dataset live in direct query mode and any other source will give you that exact error, it isnt avaible right now, again this a limitation only for power bi dataset in direct query mode.
had the same scenario a few months ago and with the microsoft support team got to this limitation for this scenario,
if this helped give some kudos and mark as solution for others to find,
Proud to be a Super User!
Is this on the roadmap at all?
Hi Tcash and StefanoGrimaldi!
What's a good workaround on this?
Regards,
theres a actual limitation on this aspect where calculated columns/tables using a compiste model between power BI dataset live in direct query mode and any other source will give you that exact error, it isnt avaible right now, again this a limitation only for power bi dataset in direct query mode.
had the same scenario a few months ago and with the microsoft support team got to this limitation for this scenario,
if this helped give some kudos and mark as solution for others to find,
Proud to be a Super User!
*Workaround for those with smaller and simpler datasets*
Re: Refreshes for Datasets containing Calculated T... - Microsoft Fabric Community
(2023/07/05)
***
Hey Stefano - Thanks so much for submitting the idea to the developers (upvoted!). Just wanna ask if you have any advice on the next best workaround on this? I also thought that it's quite neat that we can build reports from datasets so it's such a letdown that the auto-refresh is not available in the service. 😕
also note that I forgot to mantion, the limition its for the power BI service, if you run it on power bi desktop it will let you refresh and work fine in msot scenario, the limitation its more on the service part with the authentication part, so thats why you will see you get no error on desktop but a error on service when trying to refresh on the service.
Proud to be a Super User!
Thanks Stefano...yes in fact that was our discovery a little too late in the game. We developed a perfectly working model on the desktop only to realize it cannot be refreshed upon publication to the service. I hope they can fix this limitation soon but I'm a bit skeptical as the direct query to a pbi dataset within a composite model has already been in preview for 11 months 😕
you can vote here to see if they consider this idea to modify this so it can work:
here the idea link: https://community.powerbi.com/t5/Custom-Visuals-Ideas/Allow-Power-BI-Dataset-Direct-Query-composite-...
Proud to be a Super User!
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 |
---|---|
40 | |
26 | |
17 | |
11 | |
10 |
User | Count |
---|---|
57 | |
52 | |
23 | |
13 | |
11 |