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 2019/09/26 06:54:34 UTC

[GitHub] [incubator-superset] omkay commented on issue #5920: No way to set current period as upper bound on query timeframe

omkay commented on issue #5920: No way to set current period as upper bound on query timeframe
URL: https://github.com/apache/incubator-superset/issues/5920#issuecomment-535366222
 
 
   I know it's been time to this issue but I would like to share the trick I found for this issue
   as superset is using parsedatetime to parse smart dates I have used the following sneaky trick to get upper bound for current month and the upper bound for the current week
   `one month after last month` returns the start of the current month
   `three days after last week` returns the start of the current week
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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