howardcho commented on issue #16942:
URL: https://github.com/apache/superset/issues/16942#issuecomment-1714166088

   > @Gradsta you can solve the issue by using the following check:
   > 
   > ```
   > {% if from_dttm is not none %}
   >    WHERE order_date > '{{ from_dttm }}'
   > {% endif %}
   > ```
   
   I think the problem here is that no value is being found for `from_dttm`, 
when it should be `2020`, per @Gradsta comment:
   
   ```
   Expanding on my example above, the time filter on the dashboard is Last year 
which should resolve to 2020 <= order_date < 2021.
   ```
   
   I'm having the same issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to