Forum Discussion

walkery's avatar
walkery
Helper I
8 years ago
Solved

Sum column based on unique IDs

Hi: I have a dataset with 50K records in it. Some of those records have duplicate IDs, leaving only 47K unique values, they just have a different employee attached to them thus resulting in a duplica...
  • Greg_Deckler's avatar
    8 years ago

    You probably want to do something like:

     

    Measure = SUMX(SUMMARIZE(Table,[Deal ID],"__Revenue",AVERAGE([Revenue])),[__Revenue])