Forum Discussion

MR2001's avatar
MR2001
Icon for Helper II rankHelper II
10 years ago
Solved

Implementing an Excel formula as a calculated column/measure

Hello,   I need to add a custom column or measure that would replicate the follwing Excel 2010 formula. Please note that the formula compares values from current and previous rows:     Excel: =...
  • ImkeF's avatar
    ImkeF
    10 years ago

    No prob - no need to apologize.

     

    You're missing 1 step: "ID" (between #"Added Index" and SumID)

     

    Having trouble reading your screenshots, but have the feeling that you first column-name (where I was expecting to see "H000018")is actually "ID". Then you would have the same problem like Sean and the code wouldn't work.

     

    My solution would only work if you would skip the "ID" and take the column names like in row 2 of your Excel-screenshots.