Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a custom implementation of Jupyter, that includes all the low level websocket and comms necessary to handle widgets, where the shipped widgets work fine.
However, I am having an issue with Power BI widget (powerbiclient) so while that widget works fine in an AzureML notebook it fails to load the module on my client. The specific error is 'powerbi-jupyter-client@3.1.1 module not found' or thereabouts.
I am guessing this is because I am missing a client side library needed to render QuickVisualizeModel but I can find no documentation on this requirement or find any instance of this library on npm. I can even see the source code here https://github.com/microsoft/powerbi-jupyter/tree/main/src
Does anybody know what I have to do to get this to work?
Solved! Go to Solution.
I will answer my own question.
Yes, you need the powerbi-jupyter-client@3.1.1 package installed locally. You also need to overload the HTMLManager class @jupyter/widgets package to provide your own loader.
Then it gets interesting, because package.json for powerbi-jupyter-client@3.1.1 incorrectly point to the /lib path as the source where in fact in the package its /dist
So, step 1, import powebi from the lib explictly:
I will answer my own question.
Yes, you need the powerbi-jupyter-client@3.1.1 package installed locally. You also need to overload the HTMLManager class @jupyter/widgets package to provide your own loader.
Then it gets interesting, because package.json for powerbi-jupyter-client@3.1.1 incorrectly point to the /lib path as the source where in fact in the package its /dist
So, step 1, import powebi from the lib explictly:
Hi @camer314 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Regards,
Rama U.
Hi @camer314 ,
Thank you for reaching out to Microsoft Fabric Community.
Here are some general steps that might help to reslove the issue.
Here are some additional insights that might help:
Follow these detailed steps to ensure everything is set up correctly:
For more detailed instructions and troubleshooting, you can refer to below documentations.
PowerBI and Jupyter can bring together the strengths of both tools
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks & Regards,
Rama U.
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
10 | |
7 | |
4 | |
4 | |
4 |