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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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