Forum Discussion
Median value not same as Excel
- 6 years ago
Hi Anonymous ,
I test this in my emviornment, I get result like below
Measure = CALCULATE(MEDIAN('Table'[marks]))The results are the same, and you could refer to https://www.mathsisfun.com/median.html for logic.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- 6 years ago
Hi Anonymous ,
I have shown DAX in above post , you could refer to it, and below is expression to calculate median in excel
If you have other fields, you also could add it in below expression
CALCULATE(MEDIAN('Table'[marks]), ALLEXCEPT('Table','Table'[Class]))Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Could you share the dax used. I do the logic behind getting the medain ut having problems on what result my dax throws me.
Hi Anonymous ,
I have shown DAX in above post , you could refer to it, and below is expression to calculate median in excel
If you have other fields, you also could add it in below expression
CALCULATE(MEDIAN('Table'[marks]), ALLEXCEPT('Table','Table'[Class]))
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
Thanks a lot..Actually i had a flawed logic depening on how my table was build..Your small table kinda helped me understand the same ...Thanks a lot...