Forum Discussion
zhandos
3 years agoFrequent Visitor
Field Parameters pass to Python visual
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 v...
- 3 years ago
It is possible to pass 'field parameters' to Python visual. Even possible to pass multiple parameters
df=pd.DataFrame(data=dataset, columns=dataset.columns)
- 2 years ago
Hi,
I have created new python visual inside PBI, using PBI sample data. Here is the code:import seaborn as sns
import matplotlib.pyplot as pltsns.boxplot(x=dataset.columns[0], y=dataset.columns[1], data=dataset)plt.show()
Anonymous
2 years agoNot applicable
Hey,
What does all your Python code look like for your visual? I might need some help with my box plot
Best Regards,
Dominic
zhandos
2 years agoFrequent Visitor
Hi,
I have created new python visual inside PBI, using PBI sample data. Here is the code:
import seaborn as sns
import matplotlib.pyplot as plt
sns.boxplot(x=dataset.columns[0], y=dataset.columns[1], data=dataset)
plt.show()