I need to calculate how many year between two date the formula I use to get the one date is
DATE#(date(AGGR(MAX(MAX_PLAN_YEAR+5478),PART_NUMBER),'YYYY')) this will give 2033 because the max date is 2019
DATE#(date(AGGR(MAX(MAX_PLAN_YEAR),PART_NUMBER),'YYYY')) this will give me 2019
what is the best way to get how many years difference between the dates ?
Try this?
Year(Date1)-Year(Date2)
Try this?
Year(Date1)-Year(Date2)