Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello everyone,
I made a python script to draw the map of France thanks to a .geojson file in python, but the probleme is, once i have published my report, the path is wrong, i have to indicate a new path to indicate the path in the python script to read the .geojson file. But which path could i use to make it works?
Thanks.
Solved! Go to Solution.
Hi. First validate that your code will work in Power Bi Service checking this documentation with the libraries involved:
https://docs.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support
Then, considering you need to use a file to make the python code work it sounds like you can't use a local one. You can try uploading the file to a public repo like github to take its raw value or maybe it can work with a drive and its download link.
I hope that helps,
Happy to help!
Hi. First validate that your code will work in Power Bi Service checking this documentation with the libraries involved:
https://docs.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support
Then, considering you need to use a file to make the python code work it sounds like you can't use a local one. You can try uploading the file to a public repo like github to take its raw value or maybe it can work with a drive and its download link.
I hope that helps,
Happy to help!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.