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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ShawnGu
Regular Visitor

Strange Behavior when tracing PowerBI Desktop execution of SSAS Multidimensional cubes

Hi there,

we're trying to trace down an issue related to our users getting a transport error while their powerbi datasets are refreshing (PowerBI Service -> PowerBI Gateway -> OnPrem SSAS Multidimensional Server).

Once i got a copy of their PBIX file, i ran the refreshes while i had SQL Server Profiler running against the SSAS MD server and i saw something peculiar.

in SSMS, Excel or even a standard OLE script in Powershell, then i run the query, i see Query Begin -> Query End and everything looks normal.

For PowerBI Desktop, refreshing a SSAS import mode query i see

Query Begin <my query>

Query Begin <Cancel xmlns=...>

Query End  <Cancel xmlns=...>

Query End

Error Server: The operation was cancelled by the user.

this repeats several times in the Profiler trace, eventually ending successfully in PowerBI desktop loading the Query1 table with the results.

Has anyone else tried tracing PowerBI Desktop with an SSAS Multidimensional cube?

We've also tried this using different servers and different cubes on different servers and they all seem to behave this way using Windows Server 2022 & SQL Server 2019

 

1 REPLY 1
lbendlin
Super User
Super User

Power Query is extremely paranoid about meta data changes and it will issue large quantities of ghost queries (in the style of  SELECT TOP 0 *) to re-fetch meta data over and over again.  That's likely what you are seeing.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Kudoed Authors