Example for windowCount

hi,

I didn’t really get the point of windowCount function and the aws documentation wasn’t really clear.
Can someone send me a good example of this function usage?

Thanks,
Amihai

windowCount would allow you to specify a ‘lookback’ window of how many data points prior (or after) you want to count. If you want to count all the data points in a given partition I would use countOver instead.

Say you have a line chart with at a daily level, but you want to count the records from the last 5 days for each period instead, you could use windowCount for that. Agree it’s not the most common function to use.