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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.