This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I have a few graphs in PBI dashboard which are all created with R. Each graph shows something about a small subset of a very large dataset which the R code loads in R. I do not load that big raw dataset to PBI as it is massive. I want to be able to use some choice tool e.g. filter, slicer, parameter (?) which the user can choose in PBI. Their choice needs to feed to the R code so it can then filter the large dataset just for that value of the variable/factor. Is this possible??
Solved! Go to Solution.
hi @dullyhope
You may try to use parameter in power bi.
https://www.mssqltips.com/sqlservertip/4475/using-parameters-in-power-bi/
https://docs.microsoft.com/en-us/power-bi/service-parameters
and for the massive dataset, it's better to use direct query in power bi.
Regards,
Lin
hi @dullyhope
You may try to use parameter in power bi.
https://www.mssqltips.com/sqlservertip/4475/using-parameters-in-power-bi/
https://docs.microsoft.com/en-us/power-bi/service-parameters
and for the massive dataset, it's better to use direct query in power bi.
Regards,
Lin
Hi, @dullyhope ,
when you are importing data into Power BI, it is not possible to use slicers to filter data import. If your users are using Power BI Desktop to view the report, they can filter the report in Power Query. If they access the report by Power BI Service, that is not an option.
The other alternative would be to use direct query, and let the source do the calculation, instead of within Power BI. But the list of sources which are supported for direct query is not very long.
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |