KalebsDad78
Technical User
Hi All,
I am running Crystal XI w/ SQL. I have a report I have created that pulls calls where an ambulance responded to a residence two or more times within a week (7 day period).
For these records, I would like to create a "DateDiff" formula that will allow me to restrict calls that show if the 2nd response was greater than 24 hours after the 1st.
As of now, the data may show we responded to a residence on 3/6 and went back on 3/9. That's of no concern. The information I want is we went to a residence on 3/6 and didn't transport and then we went back 4 hours later and transported.
I have looked at numerous "DateDiff" examples and I can't find one that will pull unique records based on the "Customer Name" group I have created.
Can someone please help me create a formula that will work?
Thank you in advance for all of your help.
I am running Crystal XI w/ SQL. I have a report I have created that pulls calls where an ambulance responded to a residence two or more times within a week (7 day period).
For these records, I would like to create a "DateDiff" formula that will allow me to restrict calls that show if the 2nd response was greater than 24 hours after the 1st.
As of now, the data may show we responded to a residence on 3/6 and went back on 3/9. That's of no concern. The information I want is we went to a residence on 3/6 and didn't transport and then we went back 4 hours later and transported.
I have looked at numerous "DateDiff" examples and I can't find one that will pull unique records based on the "Customer Name" group I have created.
Can someone please help me create a formula that will work?
Thank you in advance for all of your help.