Forum Discussion
MROUND - Rounding to the nearest 5
Thanks this works in a table, but doesn't work when adding in a slicer.
Say for example I needed a matrix in Gender by year with a larger dataset, and then want to filer by qualification
Filter = Dip
16/17 17/18 18/19 19/20 20/21
Male 222 (220) 256(255) 212(210) 248(250) 227(225)
Female 229 (230) 246(245) 232(230) 248(250) 207(205)
Would I need to add multiple columns in? In brackets is the rounded numbers, don't need to to displayed this way, but this is what should be pulling through rather than the whole number.
Thank you very much
you would need a measure like this:
measure =
VAR _sum = SUM(TableName[FTE])
RETURN
MROUND(_sum, 5)
with the sample data you provided in the original post and changing 5 to 2, it worked like this:
p.s. please consider @someone, if you seek further suggestions.
- Suzie_Suze_Sue13 years ago
Helper I
Perfect!! Thank you