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
Anonymous
Not applicable

Get data from existing on-premies SQL dataset to JSON

Hi,

I have a dataset where i imported the data from On-premise SQL database. My requirement is to fetch this dataset data in to a Json file. i have seen some articals on MSDN to get teh dataset / table list.

 

https://msdn.microsoft.com/en-us/library/mt203567.aspx

https://msdn.microsoft.com/en-us/library/mt203556.aspx

 

I am able to get the dataset details but not able to fetch the table details in that dataset. I took two tables from SQL server in the data set. when i use the string 

 

https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/tables  

it is giving from 404 error and unable to fetch the details. I am replacing the actual groupid and dataset id in this string. Also i am the owner of that dataset as well.

 

Could you please help me in this scenario ?

 

TIA

Rahul 

 

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Anonymous

The REST API Get Tables only supports  push datasets and hybrid datasets(streaming dataset with historic data analysis enabled). Since in your case, the dataset is a on-premise SQL Server, the API doesn't work.

Capture.PNG

View solution in original post

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Anonymous

The REST API Get Tables only supports  push datasets and hybrid datasets(streaming dataset with historic data analysis enabled). Since in your case, the dataset is a on-premise SQL Server, the API doesn't work.

Capture.PNG

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.