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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
PA-JvdP
Regular Visitor

Extract data from published dataset using external tools

Hi everyone,

 

I have a dataset which is published to the Power BI service in a premium workspace.

Using Python, I would like to extract all the data from this dataset to further analyze and work with it.

 

If I'm correct, this should be possible using the XMLA endpoint of the workspace. However, I'm not sure if its actually possible, or if the extracted data from the XMLA only concerns metadata about the workspace, datasets, relationships, etc.. I really need the most detailed level of the data, so not only high-level info. Is this possible?

 

Thanks in advance

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

yes, it is possible. You can treat the dataset as if it were a SSAS tabular instance.

 

However, what you are trying to do is a mild red flag.  Instead of consuming the Power BI dataset you should probably be consuming its data sources directly.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

yes, it is possible. You can treat the dataset as if it were a SSAS tabular instance.

 

However, what you are trying to do is a mild red flag.  Instead of consuming the Power BI dataset you should probably be consuming its data sources directly.

Thank you! That's what I needed to know.

 

Why is this a red flag exactly? I understand it would be more efficient to consume the data sources themselves, but due to the large amount of processing steps this would take a long time. Other than efficiency, what are other concerns?

You are taking data out of a multidimensional cube and stuffing it into a flat table. That goes against the idea of what a cube is about. 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors