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!Get Fabric certified for FREE! Don't miss your chance! Learn more
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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 60 | |
| 47 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 109 | |
| 108 | |
| 39 | |
| 27 | |
| 27 |