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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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