Icon

2019_​07_​29_​24-Month_​Period_​Detection

24-Month Period Detection
24-Month Period DetectionThis workflow using 2 loops and Date&Time integration nodes marks dates that are within 24 months of any other date within the sameaccount group.Forum link: https://forum.knime.com/t/how-to-calculate-a-series-of-dates-from-different-accounts-in-the-same-table-and-see-if-they-fall-within-a-specified-time-period-between-each-other/17192 Input dataPrepare dataStart Group LoopStart second looprow by rowConvert to Date formatCalculate differenceRemove iteration rowGet abs of differenceGet variableApply logicGet minimum diffAdd resultEnd second loopEnd Group loop Table Creator Cell Splitter Group Loop Start Table Row ToVariable Loop Start String to Date&Time Date&TimeDifference Rule-basedRow Splitter Math Formula Table Rowto Variable Rule Engine Element Selector ConstantValue Column Loop End Loop End 24-Month Period DetectionThis workflow using 2 loops and Date&Time integration nodes marks dates that are within 24 months of any other date within the sameaccount group.Forum link: https://forum.knime.com/t/how-to-calculate-a-series-of-dates-from-different-accounts-in-the-same-table-and-see-if-they-fall-within-a-specified-time-period-between-each-other/17192 Input dataPrepare dataStart Group LoopStart second looprow by rowConvert to Date formatCalculate differenceRemove iteration rowGet abs of differenceGet variableApply logicGet minimum diffAdd resultEnd second loopEnd Group loop Table Creator Cell Splitter Group Loop Start Table Row ToVariable Loop Start String to Date&Time Date&TimeDifference Rule-basedRow Splitter Math Formula Table Rowto Variable Rule Engine Element Selector ConstantValue Column Loop End Loop End

Nodes

Extensions

Links