This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi,
Power BI has preview feature called 'field parameters', which allows to dynamically change the fields for visuals\measures or dimensions. Is it possible to pass 'field parameters' to Python visual at PBI desktop?
Solved! Go to Solution.
It is possible to pass 'field parameters' to Python visual. Even possible to pass multiple parameters
df=pd.DataFrame(data=dataset, columns=dataset.columns)
Hi,
I have created new python visual inside PBI, using PBI sample data. Here is the code:
import seaborn as sns
Hey,
What does all your Python code look like for your visual? I might need some help with my box plot
Best Regards,
Dominic
Hi,
I have created new python visual inside PBI, using PBI sample data. Here is the code:
import seaborn as sns
It is possible to pass 'field parameters' to Python visual. Even possible to pass multiple parameters
df=pd.DataFrame(data=dataset, columns=dataset.columns)
Hi @zhandos ,
No relevant content found yet.
There are some posts that metioned pass parameters to python script.
Using Python in Power BI Power Query Editor - Power BI | Microsoft Learn
Best Regards,
Jay
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 26 | |
| 23 |