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! It's time to submit your entry. Live now!
Hi community
I try to use power BI with R to predict a work case, but something miss.
First I created a visualization with R and selected all the variables for the model (this is my dataset for the model)
then I wrote the scirpt in R to got the predictors for calculated the probabilitys,
once I got the predictors wich is the better way to come back the data to power bi, for use this predictors in another dataset (this is in another table in power BI) to calculate the probabilitys?
Regards
Hi @andrescaso ,
if you want to re-use the results of an R-transformation you should do it in the query editor instead of in a visual.
You can then load the result to the data model and further work with it.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Thanks for the answer Imke
But I can´t do this from query editor, because the majority of my predictors are calculated in DAX and don´t appear in the query editor.
That is the reason because i need do this from the visualization panel. Any new ideas?
Regards
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 50 | |
| 43 | |
| 36 | |
| 33 | |
| 30 |
| User | Count |
|---|---|
| 138 | |
| 125 | |
| 60 | |
| 59 | |
| 56 |