Using powerbi/DAX, I need to create a measure to sum the numbers in a calculated column ('Units'), grouped by 'Order' and then round up to the next integer.
I tried (without rounding yet): OrderSummary = SUMMARIZE(tblOrder, tblOrder[OrderNumber], "TUnits", SUM(tblOrder[Units]))
I get error 'The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.'
Order | Units
---------------
OrderA | 1.1
OrderA | 2.3
OrderB | 2.4
OrderB | 4.5
The total for OrderA should be 2.3 + 1.1, so 3.4 rounded up to 4
The total for OrderB should be 2.4 + 4.5, so 6.9 rounded up to 7
The output for the DAX measure should be 11
ROUNDUP
, so where are you hitting issues? – greggyb