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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.