If i have set of values ( 1, 2 , 2 ,4 ) i want to make a measure to take an average without decimal ( i mean the value to be 2 not 2.25 and so on )
Go to Solution.
Try this one:
_Convert = ROUND(AVERAGE('Table'[Column1]), 0)
Proud to be a Super User!
View solution in original post
Try this measure:
_Avg = INT(AVERAGE('Table'[Column1]))
@camargos88 thanks it works fine but it converts 3.75 to 3 i want it to convert it to 4 ( the nearst value above or below )
@camargos88 it gives me the same result
@camargos88 it give me this
Can you send me the values ?
@camargos88 this measure will work on a large set of data the values in the data are ( 1,2,3,4 ) the this values will be repeated every day at least 100
And I want the average to be the nearest value
If it 3.7 to be 4
If it 3.2 to be 3
I don't think it depends on the number os values, on it's the average.
See the documentation about this function:
Check out the on demand sessions that are available now!
Check out the Winners!
Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.