Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 64 | |
| 31 | |
| 26 | |
| 26 |