Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Can i use R if my source is live SSAS?

I have a .pbix with some data regarding leads and I wanted to add some ML to predict whether the lead is likely to buy…

 

I have experience in R, but not that much in Power BI.

 

(If I were to use only R, it is pretty simple since my dataset would be a .csv file and all computation is done locally…)

 

In my .pbix I am consuming live data from an SSAS. (I have Power BI premium).

 

I have the below questions:

  • Can I run a R script in the case my source is SSAS live?
  • Given the fact that I have Power BI premium… is it better me writing the R code to predict if the lead will buy or shall I use some sort of “packed” service within Power BI Premium that already does this…
2 ACCEPTED SOLUTIONS
timg
Solution Sage
Solution Sage

Hi ovonel,

 

I see a similar question over here:

 

https://community.powerbi.com/t5/Desktop/Using-R-to-transform-data-from-an-azure-live-connection/m-p...

 

Does the answer there resolve your question as well?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

v-janeyg-msft
Community Support
Community Support

Hi, @Anonymous 

 

You can run R in live SSAS.

The scene of R used in powerbi:
Use R in Power Query Editor - Power BI | Microsoft Docs

Create Power BI visuals using R - Power BI | Microsoft Docs

Since your data source is live ssas, then we don't talk the first feature. As for the second feature, you can try it and use R to create forecast data in visual.

Create advanced analytics and visualizations using R scripts - Power BI | Microsoft Docs

Of course, you can also try to use the ML function in premium, here are some tutorials for reference:

Tutorial: Build a Machine Learning model in Power BI - Power BI | Microsoft Docs

Use Machine Learning and Cognitive Services with dataflows - Power BI | Microsoft Docs

If you still have problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-janeyg-msft
Community Support
Community Support

Hi, @Anonymous 

 

You can run R in live SSAS.

The scene of R used in powerbi:
Use R in Power Query Editor - Power BI | Microsoft Docs

Create Power BI visuals using R - Power BI | Microsoft Docs

Since your data source is live ssas, then we don't talk the first feature. As for the second feature, you can try it and use R to create forecast data in visual.

Create advanced analytics and visualizations using R scripts - Power BI | Microsoft Docs

Of course, you can also try to use the ML function in premium, here are some tutorials for reference:

Tutorial: Build a Machine Learning model in Power BI - Power BI | Microsoft Docs

Use Machine Learning and Cognitive Services with dataflows - Power BI | Microsoft Docs

If you still have problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

timg
Solution Sage
Solution Sage

Hi ovonel,

 

I see a similar question over here:

 

https://community.powerbi.com/t5/Desktop/Using-R-to-transform-data-from-an-azure-live-connection/m-p...

 

Does the answer there resolve your question as well?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.