dynamic report for each month

Anubhav Srivas1
Tera Expert

Hello Experts,

I need you help in making the report dynamic for displaying data for each month.

Every month we are doing a manual process of modifying the report.

e.g.

today I will be modifying the condition as

from

Request item Closed between 2022-02-18 00:00:00 and 2022-03-17 23:59:00>Request item Approval = Approved

to

Request item Closed between 2022-03-18 00:00:00 and 2022-04-17 23:59:00>Request item Approval = Approved

So, as you can see above : from ""february - march" we had this report....then the next month we have to make the changes to March-->> April.

Can you please help here!!

 

1 ACCEPTED SOLUTION

Palak Gupta
Tera Guru
Tera Guru

Hi there!

You can use below filter condition

"Closed between Last Month and This Month"

find_real_file.png

Please mark my answer correct and helpful if this resolves your issue.
Regards,
Palak

View solution in original post

4 REPLIES 4

Palak Gupta
Tera Guru
Tera Guru

Hi there!

You can use below filter condition

"Closed between Last Month and This Month"

find_real_file.png

Please mark my answer correct and helpful if this resolves your issue.
Regards,
Palak

will this automatically fetch the details of the next month without making any changes to the report. We want the mechanism to be dynamic enough to share reports based on the filter condition.

Hi Anubhav,

Yes it fetch data by itself next month without making any changes to the report.

Please mark my answer correct and helpful if this resolves your issue.
Regards,
Palak

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Anubhav Srivastava 

you can run a scheduled job monthly at particular time and update the report filter condition via script

check this link where I shared solution; just enhance it to calculate current and next month

Can we write script to change reports filter condition?

 

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader