Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

custom python visual using python and ArcGIS to create custom maps

I have been using the arcGIS API for python to create maps that work well in Juypter notebooks. my question is if its possible to run the same python visual in a Power BI's  report via the python visualization. My initial attempts have not worked and I'm not clear how to render visualizations from python code. for the following demo, outlined in the link, what script would i need to run within the python visualiation in order to see the map in power bi? 

#what ArcGIS gives as a sample to view a map in Jupyter notebooks
from
arcgis.gis import GIS
my_gis = GIS()
m = my_gis.map()
m

 

The reason why i am looking at this is to build more custom visualizations that are currently not possible with the out of box Arc GIS visualation available in power bi.

 

Here is a link to the installation and a basic demo of the ArcGIS in python' sJupyter notebook. Its using anaconda python.

ArcGIS API For Python | ArcGIS Developer

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous,

AFAIK, python visual is an integrated version and it may not able to process all types of scripts. (for performance and security reasons) Have you tested this code in python editor?
In addition,  I'd like to suggest you check the following link about python visual limitations first to confirm if your operation/script meets these limits.

Create Power BI visuals using Python in Power BI Desktop - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.