Hi , i have a table transformer code written like below. The highlighted code check if the date is blanks does not work. could you please let me know how exactly to check for this please? It always executes the else statement and returns T1.'End date'
5th column in the below table is T1.'End date'.
Last column is the 'Story max date' that i am trying to return.
thanks
Nagarajan.
case when T1.'End date' ="" then "Nov 30, 2025"
when (((select max(T2.'End date') from T2 where T2.'Epic Link'=T1.'Epic Name' and T2.'End date'!="" and upper(T2.'Status') in ("NEW","IN ANALYSIS","IN PROGRESS","IN REVIEW","READY","BLOCKED") group by T2.'Epic Link' ) !=NULL)
and ((select max(T2.'End date') from T2 where T2.'Epic Link'=T1.'Epic Name' and T2.'End date'!="" and upper(T2.'Status') in ("NEW","IN ANALYSIS","IN PROGRESS","IN REVIEW","READY","BLOCKED") group by T2.'Epic Link' ) !="") )
then (select max(T2.'End date') from T2 where T2.'Epic Link'=T1.'Epic Name' and T2.'End date'!="" and upper(T2.'Status') in ("NEW","IN ANALYSIS","IN PROGRESS","IN REVIEW","READY","BLOCKED") group by T2.'Epic Link' )
else T1.'End date'
end as 'Story max date'
| SNo | Division | Epic | Epic name | Epic end date | Epic status | Story max date |