Forum Discussion

vminvsky's avatar
vminvsky
Frequent Visitor
6 years ago

How to incorporate Python scripts that change

Hi,

 

I have a Python function that takes a user input and gives out a dataframe. 

 

I want the output of the Python file to be exported to Power BI and have it automatically update the graphs.

 

The issue I'm having follows: when I try to use a Python Script, you can't change this script dynamically (ie. the user input won't be factored in). Are there any options you guys know about that how to do this? One thing I was thinking about was using Azure Functions and running the function their and then sending that output to Power BI.

1 Reply

  • ImkeF's avatar
    ImkeF
    Community Champion

    Hi vminvsky 

    if you use the Python script in the query editor you can use the standard parameters for users inputs.