Adding quantile in data transformation