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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.