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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
lg01
Advocate II
Advocate II

Load data dynamically using Python

I have the following scenarion:

 

1. I want clients to make changes to a slicer

2. The values selected in the slicers will be passed to a Python script

3. The script makes a REST call using the values from the slicers as paramenters

4. The data response of the REST service will be displayed in a chart on the application.

 

Is that possible to do in Power Bi? I have been serching for something even close to that and I have not found anything.

 

1 ACCEPTED SOLUTION
3 REPLIES 3
lbendlin
Super User
Super User

yes, assuming that all steps 2,3 and 4 are happening in the same Python visual, and that your REST call is not blocked by CORS or similar.

Thank you for your reply. Any documentation/white papers/examples  that you are familiar with?  

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.