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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors