K Clark Posted April 6, 2018 Share Posted April 6, 2018 I am trying to write a Limit Data Using Expression where InServiceDate >= 1/7/2014 The data type of this column is Date I have other critera was well. I have this mess where I have gotten bogged down in the parantheses CASE WHEN ((([ARMApproved]!= "Yes") And ([Project Complete]!= "Yes")) And ((([Overdue Project]= TRUE) And (([in Service Date] >= ("1/7/2014")))))) then TRUE ELSE FALSE END I tried getting rid of everything and just using this ( other combinations of ", ), etc) but I can't find what works. CASE WHEN Date([in Service Date]) >= Date("1/7/2017") then TRUE ELSE FALSE END Any suggestion would be appreciated. Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted April 6, 2018 Share Posted April 6, 2018 Try changing: WHEN Date([in Service Date]) >= Date("1/7/2017") to WHEN Date([in Service Date]) >= Date(2017, 01, 07) You need to format the Date() function properly. Link to comment Share on other sites More sharing options...
Manmohan Agrawal Posted May 3, 2018 Share Posted May 3, 2018 Put [in Service Date]>Date(2018,5,2) in data limit. It will work You need to format date in date(yyyy, mm, dd) format to put a certain date. Link to comment Share on other sites More sharing options...
Jane K Posted November 13, 2019 Share Posted November 13, 2019 Thanks for posting! This works. 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