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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
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.

Top Solution Authors
Top Kudoed Authors