Forum Discussion
Dataset as parameter ?
- Anonymous5 years ago
The solution might be found in binding datasets.
We are going to let someone look into this.
https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/bind-report-datasets
I dont want to change a datasource like a table or something. I want to change the entirce link to a dataset
Manually i do this. My current Data source is a allready published dataset containg my entire model.
My new datasource i that another (identical) model but with different data.
So i press the Transform data button and see this
Then i get a screen with all my datasets
I select one and then i publish.
I would rather like to publish my report and be able to change the link to the dataset afterwards.
This would save me a lot of time
one way I was able to achive this by writing a program to extract pbix files, change JSON in Connections file, then add it back into zip (named .pbix). since I have a bunch of reports this program speeds up things as compared to changing 1 report at a time thru Power Bi desktop.