Forum Discussion
Anonymous
7 years agoNot applicable
Return a current year date column from another date column
Hi, am having Date column only in a table If date column having this year Dates then return new column as this year dates. Date Expected_Output 01/12/2018 01/01/2019 ...
- Anonymous7 years ago
,DATE, in the given function should instead refer to the date column:
expected_output= IF(YEAR(table[Date]) = YEAR(TODAY()),table[Date],BLANK())
dobregon
Impactful Individual
7 years agoMaybe i don't understand well your point but i think if you want in columns it need to be a mixure of ifs
expected_output= IF(YEAR(table[Date]) = YEAR(TODAY()),DATE,BLANK())
Try this
Anonymous
7 years agoNot applicable
,DATE, in the given function should instead refer to the date column:
expected_output= IF(YEAR(table[Date]) = YEAR(TODAY()),table[Date],BLANK())