Join 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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi all!
Consider the following scenario:
1. You have a python visualization in a Power BI desktop report, from where you are pulling a dataframe/table from any data source of your choosing and plotting a chart;
2. In the same dashboard/page where the python visual from 1. is in, you have a slicer from where a user can select one value of his choosing.
My question:
How does one configure/setup Python script or PBI desktop objects, in order to pass the selected objects in 2. into the visual in 1. ?
You can refer to image below for the scenario I have right now:
What have I tried before coming for help:
I created a metric to select the value chosen by the user in the Age slicer:
@SergioTorrinha , refer if these can help
https://community.powerbi.com/t5/Desktop/Prompts-to-Power-BI-using-Python-scripts/td-p/654059
@amitchandak wrote:@SergioTorrinha, refer if these can help
https://community.powerbi.com/t5/Desktop/Prompts-to-Power-BI-using-Python-scripts/td-p/654059
hi @amitchandak
tkx for your reply but both references won't help.
Hi all!
I'm still looking for a solution.
Does anyone has ahint on this bugger?
Tkx in advance 🙂
up up!
I'm still struggling to find a solution for this.
Does anyone has any idea?
Thanks
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 47 | |
| 45 | |
| 33 | |
| 33 | |
| 30 |
| User | Count |
|---|---|
| 138 | |
| 118 | |
| 59 | |
| 58 | |
| 56 |