Normalization for Median Values


I have a bunch of sales coming in at different time intervals for different customers, some with the interval of days and some with the interval of months. I would like to track the changes in the median sale value for each customer over a certain interval. I have not seen a normalization process that would help with this. Is there a way to write a custom normalization process or another way to get the desired result?