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

Join 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.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.