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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors