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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Is possible to "attach" R script as action to button?
Hey @sekic
This is technically possible, although kind of a work around and maybe not what you're looking for. You can just make a slicer with one selection and make this look like a button using the Chiclet slicer or the stock slicer with horizontal orientation. Then you could pull the slicer value into an R visual so that R script will run any time you make a selection on the slicer.
Hope this helps,
Parker
Many thanks, your idea is brilliant and I can apply it on my python visual too
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 69 | |
| 50 | |
| 41 | |
| 29 | |
| 22 |
| User | Count |
|---|---|
| 135 | |
| 123 | |
| 56 | |
| 37 | |
| 32 |