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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ElmirEbilov
New Member

Python script runs with User input parameters and visualize

Hello All,

I have two columns of data where I am using Python to analyze, and visualize the output of analysis (i.e. with curve fitting). There are some parameters in the equation where the end-user should input manually. I found the following resource where User can select variable from slicers. Resource

 

Question: is there a way where the user can just type the input in the Power BI dashboard, and Python script can run in the background and results displayed in the dashboard?

Example: I have data as X, we find Y as Y=a*X; I want a python script to run when the user inputs different values of a parameter; If the user inputs a=5, then Y=5*X is calculated in the Python script and X vs. Y is plotted in the dashboard. If the user inputs a=10, then Y=10*X is run and displayed there.

 

 

3 REPLIES 3
Zaid
New Member

Hi,

Please help me with this, I am facing the same issue.

I am not able to find a solution for this.

 

Thanks

ElmirEbilov
New Member

Thanks, but this is not what I need.

amitchandak
Super User
Super User

@ElmirEbilov , I do not think you can use slicer value. You can try the Power query M parameter that might work.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.