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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
kush-sg
Frequent Visitor

Python Script Visual

Hi, all
I'm curious about Power BI. Is it feasible to generate a custom slicer using a Python script? For instance, if I have a dataset named 'data' with a column called "CUST_NAME," I'd like to create a Slicer Visual using Python Script. Is this achievable in Power BI?

 

kushsg_0-1707136431034.png

image is for the reference 

Thanks in Advance 😊

1 REPLY 1
lbendlin
Super User
Super User

No. You can look at a Python visual, and maybe hover over it.  But you cannot use it to impact the filter context.

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.