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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.