Forum Discussion

aschillinger20's avatar
5 years ago
Solved

Distinct sum based on unique value

I have some production data that duplicates when another user signs into an order. Here is a basic examaple:   Productction Order Number   |   Production Hours 1001                                ...
  • Greg_Deckler's avatar
    Greg_Deckler
    5 years ago

    aschillinger20 - Sorry man, missed a paren placement.

    Measure = SUMX(SUMMARIZE('Production data',[prod_order_number],"_PRODUCTION HOURS", MAX([P21_hour_qty])),[_PRODUCTION HOURS])

    That should be the right one.