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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Mughees
Helper II
Helper II

Unable to get right value for correlation analysis

Hi everyone, 

I am unable to get the right value of correlation analysis when I analyze the data at month level. I have a data set that contains cases reported for 7 years. There are two different type cases category:

 

1. Good AFP cases

2. Normal

 

When I calcualte correlation of good AFP cases using a formula given in the attached file, it calcualtes it right at year interval. However, the value is not right for monthly interval at district level. 

I am attaching the files as well. Would be very really thankful if anyone can sort it out. 

 

Excel file (correlation is also calcuated)

POWER BI file (correlation calcuated that is not coming correct)

2 REPLIES 2
Greg_Deckler
Super User
Super User

@Mughees Have you looked at these?

Correlation coefficient - Microsoft Power BI Community

De-Seasonalized Correlation Coefficient - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi Greg

 

Yes, I have applied similar formula. The issue is that when I calculate correlation btw year and cases, the value is fine. However, when I apply the same formula for year-month and cases, the value is not coming right.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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