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!
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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 43 | |
| 31 | |
| 27 | |
| 23 |
| User | Count |
|---|---|
| 134 | |
| 113 | |
| 58 | |
| 39 | |
| 35 |