Forum Discussion
Anonymous
4 years agoNot applicable
DAX Function not summing
Good Afternoon, I have tried to build a report which takes two tables from our system, apppends them on top of one another in order to create one table and then use this as my dataset. With...
- 4 years ago
Hi Anonymous
Please tryOrders Available in Month DAX = SUMX ( VALUES ( 'JDE F0101'[Address Number] ), CALCULATE ( VAR ordersAvlbyCust = IF ( SUMX ( 'JDE Tables Appended', 'JDE Tables Appended'[Forward Orders] ) > SUMX ( 'JDE Tables Appended', 'JDE Tables Appended'[Orders Available in Month] ), 0, SUMX ( 'JDE Tables Appended', 'JDE Tables Appended'[Orders Available in Month] ) + SUMX ( 'JDE Tables Appended', 'JDE Tables Appended'[Credit Notes] ) - SUMX ( 'JDE Tables Appended', 'JDE Tables Appended'[Forward Orders] ) ) RETURN DIVIDE ( ordersAvlbyCust, 100000 ) ) )
Anonymous
4 years agoNot applicable
Perfect - thank you so much!!