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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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