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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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

v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.