Forum Discussion

Alejandro9805's avatar
Alejandro9805
New Member
3 years ago
Solved

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...
  • Greg_Deckler's avatar
    Greg_Deckler
    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])
      )