Hello team,
I'm trying to make a beast-mode calculation or build a logic around the below topic
there’s a field called “usersessionid” that can be a unique value or it could repeat more than once. There is then another column called “probability” that’s right next to it. The calculation i need to build it, a new column that populates with the average of the “probability” field for each unique “usersessionid” in the dataset. Below is an example of what I’m trying to achieve. The Average probability field is the new column that needs to get created.
Usersessionid | Probability | Average probability |
123 | 5 | 8 |
123 | 10 | 8 |
123 | 9 | 8 |
456 | 20 | 14 |
456 | 8 | 14 |
789 | 3 | 3 |
Thank you in advance.