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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Unable to remove pages from report | PBI-Playground

i was testing my software and noticed that i cannot remove report-pages from a report that is embed anymore.

to test my theroie i went to https://playground.powerbi.com/dev-sandbox and try removing a report-page from the sample report.
This also did not work!

Error in Console:

zuichy_0-1626177947068.png

(this error also ouccr's in my powerbi-embed application (newst powerbi-client version))

 


anyone else having the same error or know how to fix?




Status: New
Comments
v-yingjl
Community Support

Hi @zuichy ,

How did you remove the pages and which client API you have used to delete the page?

About delete pages from Power BI Embedded, please refer this document: Add, delete or rename a report page 

Delete a page using a Report instance

To delete a page from a report by using a Report instance:

deletePage(pageName: string): Promise<void>

pageName is a unique identifier that's different from the displayName. You can use the report.getPages API to get the pageName.

For example, delete a page with the name ReportSection123:

await report.deletePage("ReportSection123");

ReportSection123 is the pageName the getPages API returned for the Sales page

 

Best Regards,
Community Support Team _ Yingjie Li

 

zuichy
Regular Visitor

Hi @v-yingjl but I dont want to use code for that! 


I want to use the report-edit mode and than delete a report-page with the powerbi ui. 

this does not work.

 

zuichy_0-1626247187068.png

 

click on "X" resuslts in:

zuichy_1-1626247215896.png

 

this also happenes if i embed a report in my application. the delete feautre stopped working two days ago.

everywhere execpt on app.powerbi.com, clicking on "X" result's in an error. please check.

 

v-yingjl
Community Support

Hi @zuichy ,

Have reproduced it in my side and sumbited internal to check.

If there is any progress, would update here as soon as possible.

 

Best Regards,
Community Support Team _ Yingjie Li

zuichy
Regular Visitor

Hi @v-yingjl 

any updates?

Greetings.

v-yingjl
Community Support

Hi @zuichy ,

PG has comfirmed this issue and is speeding up the deployment of fix, which is expected to be completed in the near future.

 

Best Regards,
Community Support Team _ Yingjie Li

travisw
Regular Visitor

We have customers who are complaining of this same issue.  Are there any updates on a fix?