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 moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I'm creating a Python visual inside a PowerBI Desktop dashboard, and I need to filter out a dataset I read from a local folder based on selected values of slicers. So far, I can get all values from every slicer, but what I really need is to get only the selected ones. Does someone know how can I get a list of those selected values inside using Python code or send me the link of a post with the same situation if it applies?
Thanks in advance.
Solved! Go to Solution.
Hello, community! Thanks anyway for your reviews!
Finally, after several trial-error codes, I found one solution that works the way I wanted.
Here goes the one-line code in Python if someone needs it in the future.
My data field is named steel_fam_desc, so you just need to change your current field name in your code.
Hello, community! Thanks anyway for your reviews!
Finally, after several trial-error codes, I found one solution that works the way I wanted.
Here goes the one-line code in Python if someone needs it in the future.
My data field is named steel_fam_desc, so you just need to change your current field name in your code.
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 23 |