Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 10 | |
| 10 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 40 | |
| 36 | |
| 34 | |
| 28 | |
| 20 |