Thanks, Galaxiom!
I have dates & invoices. I needed cumulative invoice value against each date. However, when I made the usual command, I am not getting the answer. What I did now is, I converted date into a number and then built the query for cumulative invoices. It worked very well. Grateful.