dwalby Posted August 29, 2018 Share Posted August 29, 2018 Hi all, I'm trying to create a measure that shows the number of open requests older than 1 month old for example. I'm no SQL expert but came across a post online that suggested that adding h_datelogged <= GETDATE() - 31 to the WHERE query would work, unfortunately not though. Any help appreciated Link to comment Share on other sites More sharing options...
Victor Posted August 29, 2018 Share Posted August 29, 2018 @dwalby try this in the WHERE clause: h_datelogged >= NOW() - INTERVAL 1 MONTH *don't forget to have the h_status criterion in there as well... 1 Link to comment Share on other sites More sharing options...
dwalby Posted August 29, 2018 Author Share Posted August 29, 2018 Thanks @Victor I have a figure showing now, hopefully that's it. I'll keep an eye on it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now