Forum Discussion
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]))
I am currently getting the following result:
Regards Piotr
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!
1 Reply
- bilalranaResolver 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 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!