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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
torsten_FO
Helper I
Helper I

Power BI REST API - Load Data from Dataset possible

Hi,

I have a generel question about REST API Functionality. Is it possible to read/extract data from a Dataset via API? I need the Data from a Dataset extern in Python to work with it.

 

Thanks

Torsten

1 ACCEPTED SOLUTION
NandanHegde
Super User
Super User

Hey, It is possible to extract data from Dataset via an API .
The below blog explains leveraging ADF :
https://datasharkx.wordpress.com/2022/10/30/copy-data-from-power-bi-through-azure-data-factory-synap...

but you can even extract via python script leveraging the Dataset-Execute queries API:
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

3 REPLIES 3
NandanHegde
Super User
Super User

Hey, It is possible to extract data from Dataset via an API .
The below blog explains leveraging ADF :
https://datasharkx.wordpress.com/2022/10/30/copy-data-from-power-bi-through-azure-data-factory-synap...

but you can even extract via python script leveraging the Dataset-Execute queries API:
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
Anonymous
Not applicable

Hi @torsten_FO ,

Please review the following links and check if they are what you want...

Datasets - Get Datasets

GET https://api.powerbi.com/v1.0/myorg/datasets

Connect to datasets in the Power BI service from Power BI Desktop

yingyinr_0-1666943682795.png

Best Regards

Hi Rena,

I have try the first option with an API call. In this case I get only the Dataset properties. What I want is the Data inside of the Dataset.

The second option is not what I want. My Idea is a connection with Python via API to a Dataset and then to read the Data.

 

Best Regards

Torsten

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 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.