Forum Discussion
szucsandras37
3 years agoFrequent Visitor
SUMX and ROUNDUP
Hey all, I have a company live BI dataset I'm connected to, so using measures is the only option to calculate what I want. Simple dataset example: order amount rounded value 1 1,2...
- 3 years ago
johnt75
3 years agoSuper User
I've used the same measure against that data and it gives 8 as the total.
Is the 'Sales Orders Measures' table the table which includes the order number? Is [Amount] a column or a measure ?
I've used
ordered = CALCULATE( SUMX('Table2', ROUNDUP( 'Table2'[amount],0)))
where Table2 contains the data and it is performing the ROUNDUP against a column, not a measure.
- szucsandras373 years agoFrequent Visitor
Nope. 'Sales Orders Measures' has the amount, and Sales has the order number.