Forum Discussion
PowerBI API - Publish Report to PowerBI Service with different dataset name
I am creating a deployment plan to automate our PowerBI deployment.
When publishing reports using Powershell I want to append a version number to the dataset name, so that we can identify dataset version and they are not overwritten when the next version of the report is published.
For example:
- Current Report Name: BillingAnalysis
- Current Dataset Name: BillingAnalysis
- New DatasetName: BillingAnalysis_v2
I am using the New-PowerBIReport cmdlet to publish pbix. I see a paramater to rename the report when publishing but that renames both the report and the dataset. Is there a way to rename only the dataset name?
1 Reply
- JayendranSolution Sage
Hi Anonymous ,
Currently there is no functionality to rename the report and dataset. There is a seperate way to rename the dataset once you published but again the problem this is only possible with UI and not Via API/Powershell.
Please read the below link
Vote for the idea as well