[FONT="]I have a column called 'slots' containing values from 1 to 100 which populate the column any amount of times and in any order. They are sorted by date but I don't know if it's possible to use EARLIER to count previous occurrences of each slot by row as there are often multiple occurrences for each date, ideally I would like to avoid relying on dates. [/FONT]
[FONT="]So I am trying to count each occurrence of a slot number row by row in a calculated column to eventually calculate sequences and frequencies.[/FONT]
[FONT="]This is what I've been trying but gives me the total count of each slot number each time. If anyone is able to point me in the right direction it would be greatly appreciated.[/FONT]
[FONT="][=CALCULATE(COUNT([Slot]),FILTER(Records,Records[Slot]<=EARLIER(Records[Slot])))]
[/FONT]I've posted the same post here too - PowerPivot Forum - Login
By the way I'm using powerpivot 2016
[FONT="]So I am trying to count each occurrence of a slot number row by row in a calculated column to eventually calculate sequences and frequencies.[/FONT]
[FONT="]This is what I've been trying but gives me the total count of each slot number each time. If anyone is able to point me in the right direction it would be greatly appreciated.[/FONT]
[FONT="][=CALCULATE(COUNT([Slot]),FILTER(Records,Records[Slot]<=EARLIER(Records[Slot])))]
[/FONT]I've posted the same post here too - PowerPivot Forum - Login
By the way I'm using powerpivot 2016