Forum Discussion
gkakun
7 years agoHelper III
Outliers calculation help needed
Hi all, Need some help here. I have this table, as shown in picture 1. and I used this table to show the graph as shown in picture 2. I have calculated average and STD using the below formula...
- 7 years ago
Hi gkakun
You may create measures as below. Attached the sample file for your reference.
Current = CALCULATE ( SUM ( Sheet2[Consumption] ), FILTER ( Sheet2, Sheet2[Month] = "current" ) )Average = CALCULATE( AVERAGE(Sheet2[Consumption]),FILTER(ALLEXCEPT(Sheet2,Sheet2[Location]),Sheet2[Month]<>"current"))
SDT = CALCULATE(STDEV.P(Sheet2[Consumption]),FILTER(ALLEXCEPT(Sheet2,Sheet2[Location]),Sheet2[Month]<>"current"))
Mark = IF([Current]> [Average]+2*[SDT],"outlier")
Regards,
Cherie
gkakun
7 years agoHelper III
Pls enter google drive of the below account:
password- 1!password
let me know if you have any issues