Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello ,
I want to check that two dates are not null,
if both are not, I calculate the difference otherwise I put 0
This query only gives me 0
if( isnull([Due_Date]) or isnull([Days Open]),0 ,[Due_Date]-[Days Open])
Have try with following :
len(trim(Due_Date))= 0
Vikas
Thank you for you answer but it doesn't work
Check with your date format
if ( len(trim(Due_Date))= 0 or isnull([Days Open]) , 0 ,
date(interval([Due_Date] - [Days Open],'D'),'YYYY/MM/DD') ) as "Days"
Please post sample data if it not works
Vikas
it still doesn't work, I'm sorry I'm not able to share data with you because it's very confidential.
I can give you the date formats: 08/10/2021 08:42:54
and what I want to present:
in a bar chart I have an incident that I want to calculate their processing times