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.

Reply
Kvotava
Frequent Visitor

Getting an Error when trying to remove a Page from a PBI embedded report.

When trying to remove a page I am getting the following error:

 

reportEmbed.min.7d47abe50ac64ff1f8c2.js:1 ERROR TypeError: t.shouldShowWarningOnDialog is not a function
at e.<anonymous> (reportEmbed.min.7d47abe50ac64ff1f8c2.js:1)
at reportEmbed.min.7d47abe50ac64ff1f8c2.js:1
at Object.next (reportEmbed.min.7d47abe50ac64ff1f8c2.js:1)
at reportEmbed.min.7d47abe50ac64ff1f8c2.js:1
at new r (powerbiportal.dependencies.bundle.min.d9691a6dc8409ee13348.js:13)
at c (reportEmbed.min.7d47abe50ac64ff1f8c2.js:1)
at e.onDeleteSection (reportEmbed.min.7d47abe50ac64ff1f8c2.js:1)
at Object.<anonymous> (reportEmbed.min.7d47abe50ac64ff1f8c2.js:1)
at Object.dispatch (reportembed.externals.bundle.min.0cfd66ecac1fa1e7486d.js:7)
at Object.v.handle (reportembed.externals.bundle.min.0cfd66ecac1fa1e7486d.js:7)

 

Steps to Repro:

1: go to https://playground.powerbi.com/dev-sandbox

2: Add Enter Edit Mode to the end of the code.

3: Run

4: Once in edit mode click remove on one of the Pages on the bottom.

5: Notice you get the preceeding error and the page is not successfully removed.

 

Please let me know if there is a better spot to file this as a bug.

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi all,

The problem has been resolved. Could you please check whether it works well in your side? Thank you. @Kvotava , @vivekjain52 , @Dan2 

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
v-yiruan-msft
Community Support
Community Support

Hi all,

The problem has been resolved. Could you please check whether it works well in your side? Thank you. @Kvotava , @vivekjain52 , @Dan2 

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes this has been resolved for me ... thank you!

Dan2
Helper I
Helper I

Same issue from me as well. Any updates on when this is scheduled to be fixed would be helpful. Thanks.

Hi all,

The same problem has also been raised in issue forum, and it has been reported internally. The related team are working on fixing it, it will be fixed in the near future. I will continue to track it, any progress will update you as soon as possible. Sorry for bringing your inconvenience.

Unable to remove pages from report | PBI-Playground

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yiruan-msft
Community Support
Community Support

Hi @Kvotava ,

This issue has been reported internally, it will be fixed in the near future. Any progress I will update you. In addition, please try the method in the following links and check whether it can be made as a workaround.

Hide page in page bar in Power BI embedded

How to Hide Power BI iFrame Embedded Report Tabs

set active page in report with JavaScript API.

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-yiruan-msft , workarounds provided above does not fulfils our requirement - embedded powerbi report users need the functionality to delete a page indepandantly in any report.

I tried with the setActive() javascript changes which is proposed above , but that just sets the initial first page load in report as needed, but does not fix the delete page bug. It does not fits for the workaround for us. Thanks ! Awaiting further update around what we can try next or what is the plan around fix for this bug from PowerBi side.

vivekjain52
New Member

We are also facing the same issue. Using javascript liberary - powerbi-client 2.18.0 for embedding 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.