Forum Discussion
NewbieJono
4 years agoPost 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 ...
- 4 years ago
This should work:
AverageApplicationsPerDay =
"Average Applications Per Day - " &format(averagex(values('Task Requested Date'[Date]), 'DFP Applications'[Application Review Count]),"0.00")
NewbieJono
4 years agoPost Partisan
how can i format the number to be only two decimal placements
- Samarth_184 years agoCommunity Champion
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 ) - jppv204 years agoSolution Sage
This should work:
AverageApplicationsPerDay =
"Average Applications Per Day - " &format(averagex(values('Task Requested Date'[Date]), 'DFP Applications'[Application Review Count]),"0.00")