Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Calculated field for Aggregated with Non Aggregated

How to create a calculated field for On_Hand (not aggregated) that can be used to subtract with Required Quantity in this table below:     Goal is to get a matrix that looks like this  (this...
  • v-easonf-msft's avatar
    v-easonf-msft
    5 years ago

    Hi, Anonymous 

    You may need to replace sum with average.

     

    Shortage = MAX ('Open Orders_BOM'[REQUIRED_QUANTITY]) - AVERAGE('Open Orders_BOM'[ON_HAND])

     

     

    Best Regards,
    Community Support Team _ Eason