Showing results for 
Search instead for 
Did you mean: 
Responsive Resident
Responsive Resident

DataSource.Error: AnalysisServices: The connection is not open.

Hi all,


I have a model that is published to Power BI Premium and when importing data from it to a new Power BI report I often get this "error DataSource.Error: AnalysisServices: The connection is not open." and sometimes it loads fine. Does anyone know what is going on here??


Best regards,


New Member

I'm facing the same issue.
I'm importing data from a Power BI dataset through Analysis Server.

The data loads fine, but whenever any operation is performed in the Edit Query, I often get "DataSource.Error: AnalysisServices: The connection is not open." error.
Any solution to this would be really helpful.


Thank you!




Community Support
Community Support

Hi @Kristjan76 

Do you publish the report from power bi desktop to workspace in power bi service,

then you want to connect to the published pbix file with Power BI Desktop?

Which connector do you use in Power BI Desktop?


Best Regards


Hi Maggie,


Yes, we have number of cubes, both that are build in PowerBI desktop and AAS. Then I want to collect monthly KPIs from each and every one of these models. I am using AnalysisServices connector, both when connecting to Power BI services and AAS, and like I said, sometimes everything runs smoothly and sometimes I get this error that the connection is closed.


Best regards,


Helpful resources

PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Kudoed Authors