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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
natg
Frequent Visitor

Dynamic visualization with R

Hi,

Trying to build a small app with PowerBI visualization and data calculation in R.

Depending upon the data selection (through a filter visualization or similar), would like the revised dataset to be passed on to an R script and R-script containing simple correlation calucaltion and the resultant calculation to be displayed back in powerBI visualization.

Alternatively, is there any visualization (custom) which calclates the correlation coefficient for the selected data subset.

Thanks.

2 ACCEPTED SOLUTIONS
Phil_Seamark
Microsoft Employee
Microsoft Employee

The good news is the R Script visual will refresh each time a filter selection changes and the dataset it uses will reflect the changes.


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

Proud to be a Datanaut!

View solution in original post

v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @natg,

 

R visuals in Power BI Desktop are refreshed upon data updates, filtering, and R visuals respond to highlighting other visuals, but you cannot click on elements in the R visual in order to cross filter other elements.Smiley Happy

 

Regards

View solution in original post

3 REPLIES 3
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @natg,

 

R visuals in Power BI Desktop are refreshed upon data updates, filtering, and R visuals respond to highlighting other visuals, but you cannot click on elements in the R visual in order to cross filter other elements.Smiley Happy

 

Regards

Phil_Seamark
Microsoft Employee
Microsoft Employee

The good news is the R Script visual will refresh each time a filter selection changes and the dataset it uses will reflect the changes.


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

Proud to be a Datanaut!

Thank you @Phil_Seamark & @v-ljerr-msft

Let me try and update the message back.

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 Solution Authors