You can't pick Median from the list like Average, Max, Min and the others, but you can insert a calculated field and use Excel's built-in MEDIAN function.
Right-click on the pivot table, select Insert | Calculated Field, and follow the prompts.
Hope that helps.