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
Hi Team ,
I have a requirement of developing visuals using R language . whereas ,I need to use the slicer value of power BI as a input variable for visual in R .Do we have any way to store that slicer value of power BI for further usage in R.
Thanks,
Venkat.
Solved! Go to Solution.
Hi @venkatmar,
In R script, all the datasource calculations happen during the dataset Refresh, not dynamically in response to slicers and other filters. Currently, it doesn't support to execute R script within R visual dynamically based on selection in slicer.
Similar thread: Passing a parameter to an R visual
How to read values from PBI slicer and use in Rscript (Data source) of PowerBI
Best regards,
Yuliana Gu
Hi @venkatmar,
In R script, all the datasource calculations happen during the dataset Refresh, not dynamically in response to slicers and other filters. Currently, it doesn't support to execute R script within R visual dynamically based on selection in slicer.
Similar thread: Passing a parameter to an R visual
How to read values from PBI slicer and use in Rscript (Data source) of PowerBI
Best regards,
Yuliana Gu
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 45 | |
| 44 | |
| 42 | |
| 15 | |
| 15 |