The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Team,
Is there any Powershell cmdlet available for Replacing the PowerBI report which is already available in workspace. We can use New-PowerBIReport Command for Publishing new report but suppose we want to publish and replace same report in workspace then which cmdlet can help ?
Thanks in Advance!!
New-PowerBIReport -Path $datasetName -WorkspaceId $worksapceid -ConflictAction CreateOrOverwrite
CreateOrOverwrite: it helps to create or write on existing one
@Anonymous - I can't find anything for that here: https://docs.microsoft.com/en-us/rest/api/power-bi/reports/updatedatasources
But I could be missing something.
Hi @Greg_Deckler ,
Thanks for the suggestion. I am able to find one parameter for New-PowerBIReport cmdlet called --ConflictAction which can be useful for this requirement.
We can find detail from here:
Thanks