Forum Discussion
SriThiru
Helper I
4 years agoPower BI embed in Jupyter notebook methods from report class won't work inside interact callback
Hi experts, I'm facing a weird behaviour in powerbiclient embeded in Jupyter notebook. Have embedded the report using the following code from powerbiclient.authentication import MasterUserAuthe...
Anonymous
4 years agoNot applicable
Hi SriThiru ,
According to your description, it seems that it does not work properly when switching report pages. Please refer to the content in the link below and try to change the way to get the report page. See later if you can make it work properly.
Get the list of the report's pages
Embed Power BI in Jupyter Notebooks
# Get the list of pages from embedded report pages = report.get_pages()
Best Regards
- SriThiru4 years ago
Helper I
Anonymous My problem is not about getting pages from an embedded report. The problem is any methods for example report.get_pages() won't work inside the ipywidgets's dropdown change event.
from ipywidgets import interact
def dropdown_onchange(SomeOption):
print(SomeOption)
print(report.get_pages())
interact(dropdown_onchange,SomeOption=['one','two','three'])Can you please help to solve this issue