Created Metabase Questions I put on the dashboard and filter them all by Date Range.
When I try to add Date Range filter to question created by native query, metabase just can't find timestamp field for filtering and says: 'No valid fields'
Same problem even if I convert question, created by UI constructor to native query by using "View native query" option:
Metabase doesn’t know the field types of the results of SQL/native queries, so in order to map dashboard filters to SQL/native cards you need to include a field filter variable in your query and map it to the field that you would like to filter on. See this doc for details: https://www.metabase.com/docs/latest/users-guide/13-sql-parameters.html