Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 30 | |
| 26 | |
| 25 |