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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Extract Table using Power BI API, Read into Python and store data in a Pandas DataFrame

Hi,

I am currently trying to use the Power BI REST API to retrieve data from a specific table in a Power BI dataset through Python.

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

The tenant, client and client secret are successfully authenticated. 

 

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 place it into a Pandas DataFrame - Failed

Use data in a machine learning model - Not Tested

Export clean data back into Power Bi using the API - Not Tested

1 REPLY 1
Anonymous
Not applicable

I am having the same data flow with exactly same status for all these stages . 
Would be cool to finally find a solution to this

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.