I want to have filter to get last month issues, i mean, now we are in May, I wan to get the issues which captured in Apr, Do you have function like Created = LastMonth() ?
Community moderators have prevented the ability to post new answers.
try this....
Thank you for your prompt response, It worked out for me,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Be mindful here this will not include the last day of the month so you'll need to amend the code to createdDate <= endOfMonth(-1) and createdDate >= startOfMonth(-1).
I did mine and went from 86 issues to 92 - when reviewing the rw output there was no data for the last day of the month hence the change.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was just testing this and using my query and it does (and should) pick up the last day. I am curious and would like to clear this in my head. Can you inspect your results and find the delta between the two queries? Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is what I see....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry i thought i had added to my post - I used a different date in mine and copied the wrong information over - Mine used was LiveDate <= endOfMonth(-1) and LiveDate >= startOfMonth(-1).
Interesting though that i had to make the change to the logic to get the information.
Sorry for the confusion. Jack is right with his but you need to ensure if you use a different date field that you check both.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Afternoon
Be mindful here this will not include the last day of the month so you'll need to amend the code to createdDate <= endOfMonth(-1) and createdDate >= startOfMonth(-1).
I did mine and went from 86 issues to 92 - when reviewing the rw output there was no data for the last day of the month hence the change.
Thanks
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.