Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
smpa01
Community Champion
Community Champion

dataflow refresh error -Error: AnalysisServices: The connection either timed out or was lost

Hi,

I have a dataflow for SSAS table and I keep on getting the following refresh error

 

Error: Data Source Error : DataSource.Error: AnalysisServices: The connection either timed out or was lost. DataSourceKind = AnalysisServices DataSourcePath = powerbi://api.powerbi.com/v1.0/myorg/workspace;Ledger

 

Sample DF

 

let
  X = AnalysisServices.Database("powerbi://api.powerbi.com/v1.0/myorg/Workspace", "Ledger", [Query="EVALUATE .....", Implementation="2.0"])
in 
 X

 

Does anyone know why it keeps on happening and how to prevent this?

Thank you in advance


========================
Did I answer your question? Mark my post as a solution!
Proud to be a Super User
My Custom Visualization Projects
• Plotting Live Sound: Live Sound
• Beautiful News: Women in Parliament, Energy Mix, Shrinking Armies
• Visual Capitalist: Working Hrs
• Others: Easing Graph, Animated Calendar
MayViz Submissions
• Week 1: View
• Week 2: View
• Week 3: View
• Week 4: View
========================
6 REPLIES 6
Jellbrae
Frequent Visitor

Hi, @smpa01  have you ever found a solution for this or found what was eventually the problem? 

Thanks

smpa01
Community Champion
Community Champion

@Jellbrae this error occured few times. I felt helpless when it happeed. But it eventually went away with enough praying 👃and refreshing the dataflow agian and again.

 

On a serious note, I could not find a concrete way to deal with it.

 

I am not sure if it is anything to do with with balancing the load of the analysis sever.


========================
Did I answer your question? Mark my post as a solution!
Proud to be a Super User
My Custom Visualization Projects
• Plotting Live Sound: Live Sound
• Beautiful News: Women in Parliament, Energy Mix, Shrinking Armies
• Visual Capitalist: Working Hrs
• Others: Easing Graph, Animated Calendar
MayViz Submissions
• Week 1: View
• Week 2: View
• Week 3: View
• Week 4: View
========================

Thanks for the info @smpa01 . I had some merges in the Applied Steps that came after the initial data load, which resulted in about +- 100mln rows. When I removed the merges, the problem was solved. From my side, it probably had to do with the amount of rows.

GilbertQ
Super User
Super User

Could you make sure that the XMLA end point is enabled?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

GilbertQ
Super User
Super User

Hi @smpa01 

 

I am not sure if it is currently supported to access a Power BI Workspace via a dataflow.

 

Can you confirm if your above App Workspace is on Power BI Premium or Premium Per User?

 

If it is not Premium or PPU, then you will not be able to connect to it.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

smpa01
Community Champion
Community Champion

Hi @GilbertQ  I am on premium capacity and I can confirm that I have created several DFs where I have accessed the same power bi workspace inside those DFs.


========================
Did I answer your question? Mark my post as a solution!
Proud to be a Super User
My Custom Visualization Projects
• Plotting Live Sound: Live Sound
• Beautiful News: Women in Parliament, Energy Mix, Shrinking Armies
• Visual Capitalist: Working Hrs
• Others: Easing Graph, Animated Calendar
MayViz Submissions
• Week 1: View
• Week 2: View
• Week 3: View
• Week 4: View
========================

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.