Unknown macro __unixEpochNanoFilter with postgress datasource

I’m unable to use macro __unixEpochNanoFilter, it shows “Unknown macro __unixEpochNanoFilter”. As a alternative I’m using $__unixEpochFilter(created_at/1000).

Does anyone know why it might not be working?

Maybe you’re using an old version of Grafana?

Thanks for the reply.

That was my first thought, version which I’m using is Grafana v5.4.2 (d812109). And macro was listed in documentation of that version.

It’s included in v6.0 and above, see changelog https://github.com/grafana/grafana/blob/master/CHANGELOG.md#minor-3

Thank you.Now I know why its not working.