I tried that but it didn’t work: it seemed to be counting all the serial numbers. Maybe I didn’t explain well enough.
For one serial number, my selection might return 4 different stock movement dates. I need to select the latest one, but the count has to be on date, as my graph uses that as the dimension.
It shows the number of stock movements split by date, for a subset of serial numbers.