Forum Discussion

Kvotava's avatar
Kvotava
Frequent Visitor
5 years ago
Solved

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.

  • Anonymous's avatar
    Anonymous
    5 years ago

    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

7 Replies

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

    • vivekjain52's avatar
      vivekjain52
      New Member

      Hello Anonymous , 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.

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

    • Anonymous's avatar
      Anonymous
      Not applicable

      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

  • Anonymous's avatar
    Anonymous
    Not applicable

    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

    • Kvotava's avatar
      Kvotava
      Frequent Visitor

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