Forum Discussion
SusuYes
Helper III
3 years agoCalculating the Mode and Median for Non-numeric data
Hello everyone, I have data on the number of staff who attended certain workshops. I have calculated the average number of attendance to every workshop type. However, I want to calculate the mode...
amitchandak
Super User
3 years agoSusuYes , Try like
Medianx(Values(Table[Workshop Type]), calculate(Count(Table[Staff ID])) )
Averagex(Values(Table[Workshop Type]), calculate(Count(Table[Staff ID])) )
SusuYes
Helper III
3 years agoHello amitchandak,
thanks for your response. I tried the above formulas but for the Medianx I got the result back to be 1 which is not quite right. I am expecting to know for each workshop type, what is the median value of the number of staff that attended.