Hi, I have a dataset that looks like this:
Network Hour Date Avails
A 1 1/1 2
A 2 1/2 4
B 1 1/1 6
B 2 1/2 8
C 1 1/1 10
C 2 1/2 12
C 2 1/2 12
The number of avails is the same for every row that has the same network, hour, and date. I need to write a beast mode that calculates the number of different rows that have the same network, hour, and date, and divide that count by the number of avails (not summed). So for the last two rows, the calculation would be 2 / 12. This needs to be in beast mode since the calculation will change depending on certain filters.
Thank you!