How can I filter on "created last month"?

Julian Hoch
ServiceNow Employee
ServiceNow Employee

I'm trying to create a filter on records that were created last month, that is between the beginning of last month and the start of this month.

I just cannot get this to work - I tried the "after last month" option, but that means everything after the END of last month, not the beginning of last month.

There is also no "two months ago" option.

Does anybody know how to do this?

1 ACCEPTED SOLUTION

Erik Hoffmann
ServiceNow Employee
ServiceNow Employee

How about below?



New_report___ServiceNow.jpg



Best regards,


Erik


View solution in original post

8 REPLIES 8

Anurag Tripathi
Mega Patron
Mega Patron

you can try for


created   <between> <start date of your choice> and <end date of your choice>


-Anurag

I forgot to add that it's a scheduled report, and I cannot expect the users to edit the report every month just to keep the dates correct.


schedule a report on 1st of every month and in the report filter the records created on last month


-Anurag

PrashantLearnIT
Giga Sage

Hi Julian,


                            You can use "sys_created_onONLast month@javascript:gs.beginningOfLastMonth()@javascript:gs.endOfLastMonth()";


Thanks


Prashant                  


********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************