Hi, I am using the function below to find the median value of records but the problem is that I am trying to group by multi-levels in a query. For example, I have three other fields "Account_Name", "Claim_Status", "Disease_Category" that I need to take into account when calculating median value...