You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/06/30 23:25:45 UTC

[GitHub] [superset] cameronstonefinn edited a comment on issue #11406: How to get filter box time grain in SQL query

cameronstonefinn edited a comment on issue #11406:
URL: https://github.com/apache/superset/issues/11406#issuecomment-871790134


   Similar issue here, trying to pass a default `time_grain_sqla` to a filter box using the dashboard metadata with no success:
   
   `"default_filters": "{\"4291\": {\"__time_grain\": \"week\"}}"`
   
   Filter properties: 
   
   ![image](https://user-images.githubusercontent.com/77355693/124043321-a418c600-d9bf-11eb-9d1c-bfbb66a4b747.png)
   
   Metadata: 
   
   ![image](https://user-images.githubusercontent.com/77355693/124043106-310f4f80-d9bf-11eb-9867-de51e6d9e1c9.png)
   
   Result: 
   
   <img width="1245" alt="Screen Shot 2021-06-30 at 4 22 11 PM" src="https://user-images.githubusercontent.com/77355693/124043383-c9a5cf80-d9bf-11eb-95de-44fb10b23d4b.png">
   
   Anyone else figured out what's going on?


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org