Forum Discussion
Error with embeding a report into jupyter notebook
Does it work with VSC notebooks?
Anyway, did you follow all the instructions here? Create Power BI reports in Jupyter Notebooks | Microsoft Power BI Blog | Microsoft Power BI
- Anonymous2 years agoNot applicable
Hello lbendlin Yes I followed the instructions from https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/powerbi-jupyter
-pip install powerbiclient
- from powerbiclient.authentication import DeviceCodeLoginAuthentication # Initiate device authentication device_auth = DeviceCodeLoginAuthentication()
-group_id="Workspace ID"report_id="Report ID"
-report = Report(group_id=group_id, report_id=report_id, auth=device_auth)report
And got an error which I mentioned
- lbendlin2 years agoSuper User
I tried on VS Code and am getting a different error
Error rendering output item using 'jupyter-ipywidget-renderer'
- Cannot read properties of undefined (reading 'ipywidgetsKernel')
I know this worked at some point. Will need to investigate where the permissions break down.