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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.