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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Is it possible to extract a table from Power BI and Load it in Python using the Power BI API?

Hi, I am currently trying to use the Power BI REST API to retrieve the data in a table in a Power BI dataset. 

I am using the Azure client secret as an extra security measure. 

 

I have used the API to return a list of workspaces in a pandas dataframe. This has worked perfectly. 

However, I cannot get the API to extract data from a table in a dataset in the same workspace. 

 

The data pipeline plan is to:

Use Power BI to extract the data from the data warehouse - Done

Use Power BI API in Python to extract the data from the dataset table and load it into a Pandas DataFrame in Python - Failed

Use data in a machine learning model - Not Tested

Export clean data back into Power BI to build visuals

 

Does anyone have any knowledge or know if it is possible to extract data from a Power BI table and export it into Python using the Power BI API?

 

Thank you

2 REPLIES 2
LevGe
Regular Visitor

Anonymous
Not applicable

Hi, thanks for the reply.

Due to time constraints, I have had to use a manual workaround, which will be good for future development. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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