Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Chainfire74
Helper I
Helper I

Add 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(AVERAGE(Leavers3[Years Service]))

 

Thanks

1 ACCEPTED SOLUTION

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 

View solution in original post

5 REPLIES 5
MahyarTF
Memorable Member
Memorable Member

Hi,

Use this Dax Measure :

format(CALCULATE(AVERAGE(Leavers3[Years Service])), "#Year#$#,0.00")
Mahyartf
AntonioM
Solution Sage
Solution Sage

You can use CONCATENATE

CONCATENATE ( CALCULATE ( AVERAGE ( Leavers3[Years Service] ) ), " years" ) 

Thanks. When I do this, it does work - but I'm unable to change the decimal places. Any ideas? 

 

Chainfire74_0-1658828220842.png

 

 

 

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 

Perfect, thank you. That worked!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.