Power Bi Api dataset parameters empty

226 views Asked by At

I'm trying to get a dataset parameters.

I'm using a local Excel Workbook file and upload it to PBI.

enter image description here

Then I try to get dataset params as mentioned here

When I make a request I don't have any params back.

enter image description here

Is it the right API ? I expect to get columns names as result.

1

There are 1 answers

0
Mick On

The Datasets - Get Parameters In Group is not the right API. This API will return a list of parameters for the specified dataset from the specified workspace.

This won't return the data of the actual dataset, which is what you are looking for. Unfortunately this is not a support scenario with Power BI. Why do you need to retrieve the content of the Excel file programmatically?