error date filter

Hello, if I put a filter on the date field I have this error

invalidQuery: No matching signature for operator >= for argument types: TIMESTAMP, DATE. Supported signature: ANY >= ANY at [34:11]

d65b5283-7146-42a5-8e72-7fce69fe2c99.png
Solved Solved
0 5 1,447
1 ACCEPTED SOLUTION

Change datatype to timestamp or datetime

View solution in original post

5 REPLIES 5

Make sure that in the definition of your dimension_group you have added type:time

@Dawid   if that's what i did

9eb231f5-893c-403b-a08f-b081208b5247.png

Change datatype to timestamp or datetime

@Dawid  Thanks

if i have 2 views with each of the views has a date field is it possible on looker to filter from a single date filter from one view the measurements from the other view

In this case you could probably leverage the usage of Templated Filters. You can create a filter of type date_time and then feed its values as logical statements to the sql parameter of your timestamp dimensions. Here is a link that could help:

https://help.looker.com/hc/en-us/articles/360001285847-Timeframe-vs-Timeframe-Analysis-Using-Templat...

Top Labels in this Space
Top Solution Authors