Forum Discussion
Chainfire74
Helper I
4 years agoAdd text within calculation measure
Hi, This calculation gives me an average number, but is it possiblefor me to add the word 'Years' after the calculation so it is in one data card? Average Tenure of Leavers = CALCULATE(AVE...
AntonioM
Solution Sage
4 years agoYou can use CONCATENATE
CONCATENATE ( CALCULATE ( AVERAGE ( Leavers3[Years Service] ) ), " years" ) Chainfire74
Helper I
4 years agoThanks. When I do this, it does work - but I'm unable to change the decimal places. Any ideas?
- AntonioM4 years ago
Solution Sage
You would need to FORMAT the number before it's joined.
CONCATENATE ( FORMAT ( CALCULATE ( AVERAGE ( Leavers3[Years Service] ) ), "0.00" ), " years" )There are different options instead of "0.00", you can find them all here
- Chainfire744 years ago
Helper I
Perfect, thank you. That worked!