Forum Discussion

fred31330's avatar
fred31330
Icon for Advocate I rankAdvocate I
7 years ago
Solved

Multiple combinations of duplicate columns

Hello,   I have a table like this:   City Fiscal Period User Value Col5 Col6 A 01-17 User1 100 ... ... A 02-17 User1 120 ... ... A 01-17 User1 100 ... ... B 03...
  • joshcomputer1's avatar
    joshcomputer1
    7 years ago

    The Group By will look for a grouping of all 4 fields.  So it's like if CIty A, Period1, User A, Value 1 then count +1.

     

    If the user is different, then that would be a different group. 

     

    Here is my inital mock up dataset. 

     

     

    I did the group by like this:

     

    The result dataset is like this: