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
jd_alation
Regular Visitor

JSON for tables

Hi,

 

Is there any way to fetch JSON of the tables which were created using the Power BI Desktop app. Currently for the datasets i have created , when i call "https://api.powerbi.com/v1.0/myorg/datasets/some_guid/tables" i get an error message "Dataset <dataset_id> is not a push API dataset" .

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @jd_alation,

 

I'm not so clear for your issue, can you please share something detailed?

 

For e.g. :
api type, connector, connect mode, screenshots, expected result, operation steps...

 

Regards,

XIaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi @v-shex-msft ,

I created some datasets from the Power BI desktop application.

Now i am trying to access these datasets on https://powerbi.docs.apiary.io/#reference/datasets/datasets-collection/list-all-datasets?console=1 listTables.png

After clicking on the Call Resource button i get the following error message

 

listTablesErrorMsg.png

It seems , the datasets created through desktop application are not accessible from the rest APIs . But if we create a dataset from the rest API itself , such datasets are accessible . Below is a screenshot of getTables call on one such dataset

listTablesSuccessful.png

 

 

 

 

 

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.