Scan vs Over

https://learninghub.kx.com/forums/topic/scan-vs-over

Why is over giving us a single line of results while over will give many lines of results?

Thank you.

This is the standard behavior. Over only returns the last element, while scan returns the result after each step in the computation.


Accumulators – Reference – kdb+ and q documentation - Kdb+ and q documentation (kx.com)