Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ksgo
Contributor II
Contributor II

Attendance records for scores - Measure

Hi all - I am relatively new to Qliksense and have been almost entirely self taught, so, I ask in advance for your patience. 

I have a data set of workshop attendance full of the usual things - Member ID, who attended, the date of the event, etc. We use this data for scoring company participation across all of our membership, but I am struggling to find the right way to do this so I only count each company once and not based on how many people they had attend (it will make more sense in a moment).

Sample Data Set:

Member ID, Event Date, Attendee, Attend (Y or N)

472018-10-21DavidY
472019-05-15DavidY
502018-10-21GregY
502019-05-15PatrickY
512018-10-21JordanY
512019-05-15PhillipY
522018-10-21-N
522019-05-15-N
542019-05-15BryanY
542019-05-15DanielleY
542018-10-21DavidY
542019-05-15DavidY
542018-10-21ReggieY
542019-05-15ReggieY
552018-10-21-N
552019-05-15-N
572019-05-15AustinY
572018-10-21-N

 

In our scenario, Y = 100 and N = 0 points, by company. If a company sends one person or a thousand, they still get only 100 points.

On companies that send only one person, this works just fine. For companies who send 6 people, I get a value of 600 instead of just the 100.

My formula thusfar (yes I know it's very simple, I'm still learning!)

I have a table set up on our back end of modifiers and values (because the formulas are mostly the same across what we do, just the values change slightly) - W_Value = 100.

SUM(

IF
([Attended Workshop] = 'Y' , [W_Value],

IF
([Attended Workshop]='N',0)))

I've tried various flags in the load script, Counts of Distinct IDs and things of that nature but I just can't quite put my finger on how to make this work. Please help!

Labels (1)
0 Replies