Forum Discussion

flyingmada's avatar
flyingmada
Helper I
6 years ago
Solved

Summing Values from one Table based on Unique ID

I would like to sum multiple values from one table based on a unique ID and create a new table with this information. Then, I need to create a calculated column with the new information. Example is b...
  • Greg_Deckler's avatar
    6 years ago

    flyingmada 

     

    New Table =
    ADDCOLUMNS(
      SUMMARIZE(
        'Old Awful Disgustingly Bad Table',
        [ID],[Date],[Fruit],[Field],
        "Amount",SUM([Amount]),
        "Remaining",SUM([Remaining])
      ),
      "Amt/Rem",DIVIDE([Amount],[Remaining],0)
    )