Forum Discussion

tyleharris's avatar
tyleharris
Frequent Visitor
6 years ago
Solved

Rounding Issues

  Hi all, I work in the beverage industry and I'm working on a project that requires me to create a measure called "Net 9L Cases". It's an industry standard of volume that simply takes the units ...
  • Icey's avatar
    Icey
    6 years ago

    Hi tyleharris ,

     

    Try this:

    Measure =
    IF (
        HASONEVALUE ( 'Table'[Column1] ),
        ROUND ( MAX ( 'Table'[Column2] ), 2 ),
        SUMX ( 'Table', ROUND ( MAX ( 'Table '[Column2] ), 2 ) )
    )

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.