steveo250k Posted August 19, 2014 Share Posted August 19, 2014 I'm trying to create a calculated field in an ad hoc using multiple IF statements. The thing is I'm not sure how to connect the statements. Below are the statements that i'm trying to use. IF("Origin Appointment Time" == null, 'NO APPOINTMENT') IF(ElapsedHours("Origin Appointment Time", "Origin Arrival Date") < 2, '< 2 Hours') if(ElapsedHours("Origin Appointment Time", "Origin Arrival Date") > 2, '> 2 Hours') if(ElapsedHours("Origin Appointment Time", "Origin Arrival Date") > .5, 'ON TIME') Link to comment Share on other sites More sharing options...
sfriedman Posted August 19, 2014 Share Posted August 19, 2014 You can next IF functions. Here is a sample with the Foodmart sample data. 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