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! Get ahead of the game and start preparing now! 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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 35 | |
| 34 | |
| 27 |
| User | Count |
|---|---|
| 134 | |
| 101 | |
| 71 | |
| 67 | |
| 65 |