Skip to main content

In some configurations, it's necessary to identify the latest date entered across multiple entries in a repeatable question group. This is useful in workflows where you need to calculate end dates, trigger validations, or control the visibility of sections based on the most recent event or timeline.

The method below outlines how to calculate the maximum date using standard functions and formula questions.

 

How to Configure the Max Date Logic

 

In a regular question group, create a base date question. This date will serve as the reference point for all calculations.
 

AD_4nXdjE_f51OPHQ0e48d2b3LllXyKdoQqcs7FeNZOeWS2iy5zCwsb7zBX_hsVJVtbMGUowZ5t29bpOLQhQZ5H7VKdmeRH88W3lhHZFZ67vmHNoUDpCX_rJ2F80FjyYgDJv4u_yDnII0YGGUWee0kzZsw?key=JHwSYLCFb3ih5U5SOWUh17JH
 

In the repeatable question group, add a formula question that calculates the number of days between the base date and the selected date in that row.

 

AD_4nXev-x32nkaMBNTQSXgmedxbJXMzTOboA2hzIGln5ury8oaV56Hn9BdXtFNo4idCxqRBOhbOpTE_codGXy2nZrfkAB8Y8NxGoqcfSPoQ_raOlYn2UCwjYsqM4Q25iIHtseqhHzqDiBzVKWwjFTpcSQ?key=JHwSYLCFb3ih5U5SOWUh17JH

 

Back in the regular question group, create a formula question using the MAX_IN_GROUP() function to extract the maximum number of days from all repeatable entries.
 

AD_4nXdwM4nrbkxBv3exR_c6JBNkODjg8YazyPmTPuq5xjrish88OCZ0XKFnYC12iPhVerqAbzSlMFN998BR_WXG03-DS571zf_UdLJeEFeXxpeeTF12FND4_-Q4FG-Q_pLl45x13FTxs64mJymmSIazIg?key=JHwSYLCFb3ih5U5SOWUh17JH

 

Finally, add a formula date question that adds the maximum number of days to the base date, effectively reconstructing the latest date across all rows.
 

AD_4nXf3ZbwetULpdbzIMJinOagBkdTArUALQ235HDc40vUfwCetFIxsOkqkNChn50WwslHBI68yvmQd9P0OKT2sKXcOqDe00rsVJ7fdE3c6bw1I7WFebpb9WHRDHhsJSKK8IzHTzMd3_LGuNgvQbBttOVA?key=JHwSYLCFb3ih5U5SOWUh17JH


Sales Mode
 

AD_4nXdNfFbcvO4y82a7ISKhqH6NsN9bgbI_q3yxtahmo7iYgduqQnDiR_qfRQKWPmV6KEodCy_zpsiSz-NT-0uo8S41TOqjwyLTF78FJGG17WQXj_Q2MLh3p79yFoC9u0eMl0OGG-HOq_aCJl9QJnhE_HM?key=JHwSYLCFb3ih5U5SOWUh17JH

Be the first to reply!

Reply