Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamic filter in Nprinting by month

Hello All,

I need to create a filter in Nprinting to select the last 3 months.

To calculate the current month I am using the below expression:

=Month(now()) which returns the value June.

However, I do not get any value using =Month(now()-1) and when I try this expression =Month(now())-1 it gives me 5 as the result.

I need an expression which will return the value of May and April.

Any idea?

Many Thanks,

Hasvine

1 Solution

Accepted Solutions
Daniel_Jenkins
Specialist III
Specialist III

Hi Hasvine,

For May & April try:

=Month(AddMonths(Now(), - 1))

&

=Month(AddMonths(Now(), - 2))

HTH - Daniel.

View solution in original post

3 Replies
Daniel_Jenkins
Specialist III
Specialist III

Hi Hasvine,

For May & April try:

=Month(AddMonths(Now(), - 1))

&

=Month(AddMonths(Now(), - 2))

HTH - Daniel.

Not applicable
Author

Hi Daniel,

Thank you for your help.

You are the best.

Thanks,

Hasvine

paolakamdem
Contributor
Contributor

hello,

i have tried this but it continues to give me another thing.

do you have another solution please?