Unfortunately IDEA doesn't have a built in function to do this. If you look in the Macros.ILB folder of the Samples project (C:\Users\user\Documents\My IDEA Documents\IDEA Projects\Samples\Macros.ILB) there is a script called ShowMedian.iss, if you run this it will display the median to you and write it to the history. You can also create a script to do this easy enough.
I get the error message, you must run pyton scripts in the IDEA options dialog box before performing the task and I don't know where it is IDEA options
Unfortunately IDEA doesn't
Unfortunately IDEA doesn't have a built in function to do this. If you look in the Macros.ILB folder of the Samples project (C:\Users\user\Documents\My IDEA Documents\IDEA Projects\Samples\Macros.ILB) there is a script called ShowMedian.iss, if you run this it will display the median to you and write it to the history. You can also create a script to do this easy enough.