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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
NewbieJono
Post Partisan
Post Partisan

adding text to a measure

i have a measure that returns a number.

 

AverageApplicationsPerDay = averagex(values('Task Requested Date'[Date]), 'DFP Applications'[Application Review Count])
 
could i add text before it to display e.g "Average Applications Per Day - 2.742
1 ACCEPTED SOLUTION

@NewbieJono 

 

This should work:

 

AverageApplicationsPerDay =

"Average Applications Per Day - " &

format(averagex(values('Task Requested Date'[Date]), 'DFP Applications'[Application Review Count]),"0.00")

View solution in original post

5 REPLIES 5
NewbieJono
Post Partisan
Post Partisan

how can i format the number to be only two decimal placements 

@NewbieJono 

 

This should work:

 

AverageApplicationsPerDay =

"Average Applications Per Day - " &

format(averagex(values('Task Requested Date'[Date]), 'DFP Applications'[Application Review Count]),"0.00")

You can do it by using below code:-

AverageApplicationsPerDay =
VAR result =
    AVERAGEX (
        VALUES ( 'Task Requested Date'[Date] ),
        'DFP Applications'[Application Review Count]
    )
RETURN
    "Average Applications Per Day - " & ROUND ( result, 2 )

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

jppv20
Solution Sage
Solution Sage

Hi @NewbieJono ,

 

You can use this measure:

AverageApplicationsPerDay =

"Average Applications Per Day - " &

averagex(values('Task Requested Date'[Date]), 'DFP Applications'[Application Review Count])

 

If I answered your question, please mark it as a solution to help other members find it more quickly.

Samarth_18
Community Champion
Community Champion

Hi @NewbieJono ,

You can try below code:-

AverageApplicationsPerDay =
VAR result =
    AVERAGEX (
        VALUES ( 'Task Requested Date'[Date] ),
        'DFP Applications'[Application Review Count]
    )
RETURN
    "Average Applications Per Day - " & result

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.