Forum Discussion
piotrgrendus87
4 years agoHelper I
ROUND function
Hi everyone. I am looking for a way to create a " round " function that will round the result of my measure: P4P Workshop Parts Sales = ('Workshop Parts Sales'[Workshop Parts] * (1 + P4P[P4P])) ...
- 4 years ago
Hi piotrgrendus87
For Reference you can use the template functions from the guide
https://docs.microsoft.com/en-us/dax/round-function-dax
For your measuresP4P Workshop Parts Sales =
var result = ('Workshop Parts Sales'[Workshop Parts] * (1 + P4P[P4P]))
return ROUND(result,2)For other measure
P4P Capacity =
var result = HIST_CAPACITY[History FTE] * (1 + P4P[P4P])
return ROUND(result,2)Did I answer your question? Mark my post as a solution! Kudos are also appreciated!
bilalrana
4 years agoResolver I
Hi piotrgrendus87
For Reference you can use the template functions from the guide
https://docs.microsoft.com/en-us/dax/round-function-dax
For your measures
P4P Workshop Parts Sales =
var result = ('Workshop Parts Sales'[Workshop Parts] * (1 + P4P[P4P]))
return ROUND(result,2)
For other measure
P4P Capacity =
var result = HIST_CAPACITY[History FTE] * (1 + P4P[P4P])
return ROUND(result,2)
Did I answer your question? Mark my post as a solution! Kudos are also appreciated!