athomp15 wrote:Thanks for the response @v-lvzhan-msft. I've taken a look through the information availble on the API, what's not clear is what I can do to the datasets (tables etc) when I import a PBXI file. Currently it shows that there are not tables in the datasets belonging to the imported reports.
List of data sets from imported PBIX files
Which seems that I can either use the API to automate the data - then build the report manually, or template the reports using Power BI desktop, but then not have any flexability around updating it's data using the API.
That seems the limitation. As I suggested, you can creat tables and add rows via REST API to the datasets which also are created via REST, neither to the datasets published by PBI desktop nor to the ones imported.
I think the flexiability is making sense and maybe the product team is working on some feature. Meanwhile you can submit your idea at Power BI Ideas.
You can also check this idea Allow to update the dataset (tables) of a published desktop via API and vote it up.