Counting number of previous days until Null

R

RussCRM

How could I count the number of previous days a record is present
until I hit a null?

For instance, if I wanted to know how many previous days in a row
someone placed an order...
 
Top