Forum Discussion
Alejandro9805
3 years agoNew Member
SUMX HELP
Good morning, I hope you can help me, I created a measure to calculate the opportunity $ to fulfill pending orders, the items can be repeated in different orders, this makes that when I multi...
- 3 years ago
Alejandro9805 I missed a comma:
Opportunity $ = SUMX( FILTER(Backorder, Backorder[B/O qty] >= RELATED('Inventory with location'[Qty on hand]) ), Backorder[B/O value] * RELATED('Inventory with location'[Quantity available]) )
Alejandro9805
3 years agoNew Member
Greg_Deckler
Thanks for you help,
I did what you said,
DAX CODE:
Opportunity $ = SUMX(
FILTER(Backorder,Backorder[B/O qty] >= RELATED('Inventory with location'[Qty on hand]) )
Backorder,Backorder[B/O value] * RELATED('Inventory with location'[Qty available])
)
Error:
"Backorder" syntax is not correct.(DAX(SUMX( FILTER(Backorder,Backorder[B/O cant.] >= RELATED('Inventory with location'[Quantity available]) ) Backorder,Backorder[B/O value] * RELATED('Inventory with location'[Quantity available])))).
Thanks for you help.
Greg_Deckler
Community Champion
3 years agoAlejandro9805 I missed a comma:
Opportunity $ =
SUMX(
FILTER(Backorder, Backorder[B/O qty] >= RELATED('Inventory with location'[Qty on hand]) ),
Backorder[B/O value] * RELATED('Inventory with location'[Quantity available])
)