The following query put the result of processing function as “null” :| chart max(log_ts) as maxlogts | process format_date(maxlogts,'YYYY/MM/dd') as endDate | fields maxlogts, endDate
![](https://uploads-eu-west-1.insided.com/logpoint-en/attachment/5fdbbba9-2a96-4d0f-bd45-060e3b68cf27.png)
I think the field “maxlogts” is not retrieved/recognized by function format_date().
There is a way to obtain the field “endDate” not null ?