I have an event that goes off when a song is played, and it has the songId and the durationInSeconds. I want to a number of unique users that have played a unique song for more than 60s so effectively I want to calculate the sum of the durationInSeconds property across unique songIds and across unique Users.
How can I do this?
To give more context we are defining our active users as users that have play the same song for a cumulative amount 1 min, so hence why we want to have the sum of a single song per user calculated.