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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors