
Hi there: There are two records with to dates, I need to use the DATETIME_DIFF function, but it only works If I have the fields side by side, not in two diferent records. How can I work this out?

Hi there: There are two records with to dates, I need to use the DATETIME_DIFF function, but it only works If I have the fields side by side, not in two diferent records. How can I work this out?
Best answer by Alexey_Gusev
Hi,
All 'vertical' computing must be done in a table, where these records are linked (in your case, where 'Nomrbe' column linked.)
You should add rollup field and use formula, for example DATETIME_DIFF(MIN(values), MAX(values),'days'). On the record, where primary field value is 'MARIA PRISCILA', and these 2 records are linked to, it will give you a difference between MIN and MAX dates of linked records.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.