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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Download data from the dataset using python

Hi everyone!

 

Is there a way to download/access the Power BI dataset stored in the Power BI Service via Python? Let's say I need to send a DAX query to the dataset in the Power BI premium capacity and get a table produced by this query into my Jupyter Notebook. I tried pyadomd, which is widely used for cubes, and power bi api. However, both of them do not seem to cope with the task.

I know that it is possible to make a script inside the datamodel but that is not suitable for my case as I also need some measures from the set. 

1 REPLY 1
lbendlin
Super User
Super User

what error messages did you get from pyadomd?  You may run into authentication issues but once authenticated the queries should be straightforward.

 

How did you try to use power bi api?

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors