Forum Discussion

noodles281's avatar
noodles281
Frequent Visitor
5 years ago
Solved

Calculated Column required to evaluate maximum number of consecutive events attended

I'm going around in circles with this now. So posting on here to see if a fresh pair of eyes will solve it. Thank you so much for your attention and participation.

 

Events take place, and people attend these. I have attended each event and would like to know how many consecutive events any participant has had and who is on the longest current streak (so involving the most recent event). All my thoughts suggest this should be a calculated column either in the EVENTS table or the PARTICIPANTS table. Still, I can't work out a way to increment the count, so the consecutive attendances are counted properly.

In my mind, the result should be in one of these two formats.

 

EVENTS

EventNumberPersonIDConsecutiveCount
1661
2662
3663
566 
666 
766 
8661
10662
1266 
1366 
14661
16662
17663
2066 
2166 
1481
248 
3481
448 
748 
8481
9482
10483
11484
12485
1448 
1548 
1648 
1748 

 

or

 

PARTICIPANTS

PersonID

Consecutive Count

663
485

 

Download the EVENTS table ( contains EventNumbers and PersonID)

https://geordieintelligence-my.sharepoint.com/:f:/g/personal/ross_geordieconsulting_co_uk/EiPMJAmWVPNOvEElsaapB3IBu93g1fNGYOpiOWZnpSBRiw?e=eBm0Gd 

2 Replies

    • noodles281's avatar
      noodles281
      Frequent Visitor

      Thank you, a couple of tweaks and it's now in as a calculated column so I can more easily use it for the metrics, people want to quickly see who's currently holding the consecutive attendance record etc... Massive help and glad to see I wasn't a too far off either 👍