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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
pixmeister
Frequent Visitor

Error connecting to XMLA endpoints from Excel


I had a query from a user who was trying to use the Get Data function in Excel to connect to an XMLA dataset. In replicating the issue I (as an Admin on the dataset) received the same error:

'Cannot create the PivotTable An error has occurred creating the PivotTable. Please make sure you have permissions to the data, the model is valid and the credentials are correct.'

I can connect without issue to on-prem datasets. I also attempted to attack this from the Power BI 'end' and used the Analyse in Excel function from the dataset in the PBI service. Excel opens but nothing ever populates in the PivotTable fields.

 

Both Allow Live Connections and Allow XMLA endpoints and Analyze in Excel with on-premises datasets are enabled for the entire organization.

 

Much appreciate any help. Thanks

3 REPLIES 3
lbendlin
Super User
Super User

can you confirm that you both have Build permissions against the app or dataset?

Yes, I'm Admin. Thanks

That's not exactly what I asked, but it likely is sufficient. If you have a Pro license you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.