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 |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |