Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
coder_andy
Frequent Visitor

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 1
Jayendran
Solution Sage
Solution Sage

Hi @coder_andy ,

 

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

 

https://community.powerbi.com/t5/Developer/How-to-rename-a-dataset-using-the-powerbi-rest-api-s-Is-t...

 

Vote for the idea as well

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/39768925-rename-datasets-reports-... 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.