HI team
I created this formula but is not working because alteryx dont consider the year, someone know how can I use this formula ?
if [Fecha recepcion DIAN]<=[Fecha inicial periodo] then "Doc before current period" elseif [Fecha recepcion DIAN]>[Fecha final periodo] then "Doc after current periodo" else "OK" endif
apparently is considering only the month no the year. 2022 is before fecha final periodo but is showing as after.
I appreciate your support here
| Fecha recepcion DIAN | Fecha inicial periodo | Fecha final periodo | DIAN report del periodo? | | | |
| 1/12/2023 | 8/5/2023 | 8/30/2023 | Doc before current period | | |
| 1/16/2023 | 8/5/2023 | 8/30/2023 | Doc before current period | | |
| 12/21/2022 | 8/5/2023 | 8/30/2023 | Doc after current periodo | | |
| 12/9/2022 | 8/5/2023 | 8/30/2023 | Doc after current periodo | | |
| 12/28/2022 | 8/5/2023 | 8/30/2023 | Doc after current periodo | IT IS CORRECT | |
| 12/21/2022 | 8/5/2023 | 8/30/2023 | Doc after current periodo | IT IS WRONG |