Forum Discussion
yonghao
3 years agoRegular Visitor
Help! How to sum up minimums?
Hey guys, I'm trying to sum up the minimums I got from this formula: min(balanced order qty, physically available).
I tried sumx(table, min(balanced order qty, physically available)) but didn't work. Highlight above is what I expect to get.
Thank you so much!!!
1 Reply
- Jihwan_KimSuper User
Hi,
Please try to write a measure something like below.
Expected measure: = SUMX ( 'Table', MIN ( CALCULATE ( SUM ( 'Table'[Balanced Order qty] ) ), CALCULATE ( SUM ( 'Table'[Physically available] ) ) ) )