we are trying to implement the following:
We will have PowerBI reports for different scenarios. Each scenario has different data but it will use the same visual for the user.
Therefore, we need to have a "template" report and when a new scenario is created, new report is created from this template together with a new SQL table to which it connects.
I was surprised that it's really difficult to find information how to do this (and I think it's a quite common scenario).
From what I found so far we need to:
- Create pbix file which will use power query parameter for data source
- Upload this pbix file using REST API
- Call REST API to change the parameter to use correct data source
Is that process correct? If so, how to upload a pbix file to a workspace? I found only old tutorials or depricated API.
Thank you for any help.