Question: age is a measure or dimension?
Answer: Age or AgeGroup is normally its own dimension. So you would have an Age dimension that would have ages from say 1 to 150 and it would have an attribute for AgeGroup (eg 20-25). When it comes to deciding between dimension attribute or measures, you need to meet your requirements.