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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.