Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

simplify code

Hello. I have this new column "line Seperation" coded to get me an increnmenting number that coresponds to a line  EX. three rows  if data might correspond to #1 and the next 5 rows to #2 . My main q...
  • ssugar's avatar
    7 years ago

    How about this:

     

    Column = Table1[ID] & Table1[TestCondition2]
    Column 2 = RANKX(Table1, Table1[Column], , ASC, Dense)