Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Clone dataset programmatically

Hi, 

 

I have an azure blob storage account with containers for each of my in-company app users. Each container has many XMLs, all following the same structure. I would like to be able to make a new report for the data in each XML. 

 

My current setup is to have a PowerQuery with Parameters indicating the User and XML file to fetch, giving a dataset which I then  feed into a standardized Power BI report. To be able to do this for each XML, I intended to clone the master report and clone the dataset, then change the PowerQuery parameters in the new dataset to indicate which new user and XML file to report on.

 

I see that the REST API allows me to clone the report, however I am struggeling to clone the dataset. Does anyone have any suggestions as to how to proceed?

4 Replies