Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. 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