Hi,
Is it possible in powerpivot to lookup a value based on the direct result of a measure.
In the example below I have various people in column A and have created a dax measure to calculate the age of each person.
What I’d like to be able to do is, based on the person’s age, assign an age category to each as per the below:
<colgroup><col style="text-align: center;"><col style="text-align: center;"><col style="text-align: center;"></colgroup><tbody>
</tbody>
Can this be done via another dax measure?
Thanks
Is it possible in powerpivot to lookup a value based on the direct result of a measure.
In the example below I have various people in column A and have created a dax measure to calculate the age of each person.
What I’d like to be able to do is, based on the person’s age, assign an age category to each as per the below:
Person | Avg. Age | Age Category |
Person1 | 19.2 | >10 and <=20 |
Person2 | 62.1 | >60 and <=70 |
Person3 | 8.0 | >0 and <= 10 |
Person4 | 29.7 | >20 and <=30 |
Person5 | 71.1 | >70 and <=80 |
Person6 | 38.3 | >30 and <=40 |
Person7 | 9.0 | >0 and <= 10 |
Person8 | 25.6 | >20 and <=30 |
Person9 | 47.8 | >40 and <=50 |
Person10 | 27.0 | >20 and <=30 |
<colgroup><col style="text-align: center;"><col style="text-align: center;"><col style="text-align: center;"></colgroup><tbody>
</tbody>
Can this be done via another dax measure?
Thanks