Changing quantity to yield, changing color scheme based on measure