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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
arijsiddiqui
Regular Visitor

GetTables Rest API not returning rows/columns

Hi,

I have created a push dataset using an API i.e "https://docs.microsoft.com/en-gb/rest/api/power-bi/pushdatasets/datasets_postdataset" and then added some rows using this API "https://docs.microsoft.com/en-gb/rest/api/power-bi/pushdatasets/datasets_postrows" 

 

Now, when I am trying to get the tables using an API "https://docs.microsoft.com/en-gb/rest/api/power-bi/pushdatasets/datasets_gettables" it's only returning the name of the table, even it should return the columns and data.

 

Can you pls guide me about this behaviour, is there anyway to get the data in side a table or how can i get 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

The documentation states: "Returns a list of tables tables within the specified dataset" .  It does not claim to return the contents anywhere.

 

However - you can connect to the dataset with an XMLA client of your choice and get the table contents from there.

lbendlin_0-1618344082564.png

 

 

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

Thankyou for your response.

https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets/datasets-get-tables#table but in that document it mentions that its response is array of Table, and Table it self is an object which contains rows and columns as property.

lbendlin
Super User
Super User

The documentation states: "Returns a list of tables tables within the specified dataset" .  It does not claim to return the contents anywhere.

 

However - you can connect to the dataset with an XMLA client of your choice and get the table contents from there.

lbendlin_0-1618344082564.png

 

 

Anonymous
Not applicable

@lbendlin can you elaborate what are you trying to say, i am also having this sort of issue.

"Get Tables" only returns the table names 

Anonymous
Not applicable

Is there any way to get record pushed into push dataset, i want to take backup in case there is a need to update dataset.

Not sure I understand.  You can push rows, and you can query the dataset.  What you cannot do is "update the dataset". 

Anonymous
Not applicable

Well there is a case in which I want to update the dataset, and get the record of that dataset and create backup of it. That why I am trying to get the rows of that dataset. But API is not returning any thing apart from table name.

 

there is a case in which I want to update the dataset

 

You cannot do that. If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41

Anonymous
Not applicable

Really appreciated.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.