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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
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.

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.