Forum Discussion

arijsiddiqui's avatar
arijsiddiqui
Regular Visitor
5 years ago
Solved

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 

  • 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.

     

     

9 Replies

  • 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.

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

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

      • lbendlin's avatar
        lbendlin
        Super User

        "Get Tables" only returns the table names