I also created a variable for v30Days which is num(30).
This works all fine, however I need to count the number of documents that are due to expire within 10 to 30 days, and then documents that are past their due date. The below Set Analysis works for counting all documents I have, but I need to modify it to count those as per the above. I've looked around but am a bit stuck. Any help would be great: