amitmaharana opened a new issue #13261:
URL: https://github.com/apache/superset/issues/13261


   **Is your feature request related to a problem? Please describe.**
   I am working on a dataset that does not have data for weekends. Currently, 
the time range filters supported are based on the calendar irrespective of the 
presence of data. If I search on a Monday using the last day filter then no 
results were returned, as expected.
   
   **Describe the solution you'd like**
   It would be great if there was an option to filter based on availability of 
data or the `last business day`.
   
   **Describe alternatives you've considered**
   I have tried extracting the `maxTime` value from the Druid datasource 
metadata which gives me the `last business day` but haven't been successful in 
applying it as a filter within the `date_parser` code.
   
   **Additional context**
   ![Image of Time Range](https://i.imgur.com/66nvROq.png)
   


----------------------------------------------------------------
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:
[email protected]



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

Reply via email to