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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
za_lg
New Member

Reading semantic model into Fabric notebook

I am a powerbi Trial user.

I'd like to read a semantic model into a Fabric notebook. But I'm getting the following error when running the below:

import
sempy.fabric as fabric

df_datasets = fabric.list_datasets()
df_datasets

ConnectionException: XMLA endpoint feature is disabled. Turn on Analyze in Excel feature in PowerBI.com to enable this feature.
3 REPLIES 3
Arul
Super User
Super User

@za_lg ,

You need to enable XMLA read-only.

 

Arul_0-1717592152401.png

https://learn.microsoft.com/en-us/fabric/data-science/read-write-power-bi-python

Check this for XMLA endpoint enablement process,
https://learn.microsoft.com/en-us/power-bi/enterprise/service-premium-connect-tools





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

Proud to be a Super User!


LinkedIn


Ufortuantely this does not answer the question. My trial already has read & write XMLA endpoints enabled... 

@Arul , thank you. My trail enviroment is set to read write. Still getting the same error

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.