Report Portal

How to Calculate the Median in T-SQL, MDX, and not DAX

Building from my last post, Performance Metrics: Average, Mean, Median, and Outliers, where I covered the topic of when to use Median instead of Average, in this post I'm going (to try) to show you how to calculate the Median of a set of values in T-SQL, MDX, and DAX.


Tags: mdx


2007-2015 VidasSoft Systems Inc.