Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I published a report with three Python based visuals, two of which used the module "networkx". Then I published it. When I opened it online, these two visuals didn't show with error "File "C:\Script\0.py", line 27, in <module> import networkx as nx ModuleNotFoundError: No module named 'networkx'".
I have the modul installed in my local mashine. Could someone tell me where to install the module "networkx" so that I could use the report?
Thank you
Solved! Go to Solution.
Hi. I'm sorry to tell you that there is a limitation on python libraries you can use for visualizations. This is the list of what you can use on power bi service:
Hope you can solve it with those libraries.
Regards,
Happy to help!
Hi. I'm sorry to tell you that there is a limitation on python libraries you can use for visualizations. This is the list of what you can use on power bi service:
Hope you can solve it with those libraries.
Regards,
Happy to help!
Thank you. I will try to do that with existing libraries.
By the way. Do you know if there is a way to embed Python libraries into pbix file in order to enable other user to open the file in other machines without installing the libraries.
No. For sure you won't be able to embed python. The user that opens the Power Bi Desktop must have python libraries on their computer. If you publish to service they will be able to check the report because service will handle pyhton (limited with those libraries).
Regards,
Happy to help!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
30 | |
24 | |
23 | |
20 |
User | Count |
---|---|
54 | |
33 | |
22 | |
20 | |
20 |