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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
tomi5
Helper I
Helper I

Can you make a correlation plot with field parameter in power bi natively?

I want to make a correlation plot with field parameter in power bi. 

 

Suppose my data looks like this:

 

IDHeightAgeWeightIQ
117218144100
...............

 

and perhaps another table

 

IDSalaryNumber of children
1100,0001
.........

 

I have created two parameter fields and placed them in the x and y axis of a scatter chart, that way I can see a scatter plot of any two variables, and how they are correlated with each other for example:

 

age vs salary, salary vs number of children, height vs weight, and so on.

 

This works fine but I want to be able to work out the R squared value between any two given parameters.

 

Basically I want the output to be a matrix that looks like this:

 

 heightageweightiqsalary#children
height10.8865............
age0.88651............
weight......1..........
iq.........1......
salary.............1...
#children...............1

 

Can anyone help me to do this please.

 

The first step I did was to put my parameter field in a matrix with the x axis and y axis having the parameter field, this should look like the above but without the values in the matrix but it doesn't display properly

1 REPLY 1
v-luwang-msft
Community Support
Community Support

Hi @tomi5 ,

How to get 0.8865 according your base two table? Not very clear.

 

 

Best Regards

Lucien

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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