I forgot to mention. In case you need the previous month instead last 30 days, you will also need 2 constraints in the 1st search. This is necessary to return a list where Creation Date is contained in a range, this means between last month (1st and last day).