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

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

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.