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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
TimKroemer
Frequent Visitor

Extracting Information from R Visual

Hi All

 

I am running some basic time series analysis using R visuals in PowerBI to decompose the data - there are c. 5x10x3 dimensions to the data and the PowerBI framework enables me to easily run the visualisation for any combination of these dimensions (eg Decompose).

 

Is there any way that I can use the outputs of the R visuals outside of the visualisation, eg as a new column or measure? I assume I can do this using an R script rather than visual - but my understanding is that R scripts are only calculated when the data is refreshed, and so this does not seem viable.

 

Hope my question is clear - any help would be much appreciated!

 

Tim

 

 

1 ACCEPTED SOLUTION
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @TimKroemer

 

You can add columns of data based on R-Script in the Query Editor as one option. 

 

rtransform.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @TimKroemer

 

You can add columns of data based on R-Script in the Query Editor as one option. 

 

rtransform.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

@Phil_Seamark - thank you very much, this is very helpful!

 

Gratefully,

 

Tim

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors