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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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