Kelvin Posted August 15, 2016 Share Posted August 15, 2016 I am trying to set up a widget to show a count for for the top 10 customers logging faults. Filter = h_datelogged>=DATEADD(DAY,-7,GETDATE()) Unfortunately this dose not return any data. Any ideas Link to comment Share on other sites More sharing options...
Guest Chaz Posted August 15, 2016 Share Posted August 15, 2016 @Kelvin This worked for me, it sets the date to now minus 7 days. h_datelogged >= DATE(NOW() - INTERVAL 7 DAY) Link to comment Share on other sites More sharing options...
Kelvin Posted August 15, 2016 Author Share Posted August 15, 2016 @cchanaPerfect thanks 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