Date filters allow range and null selection
Use case: Users need to be able to select a date range (YTD 2023 for example) and also have the ability to return the rows that have a NULL date. Using the multi select dropdown is not an suitable option. What is the best course of action?
3 replies
-
Hi Paul,
Can I clarify a couple of things with you?
- Are you looking to retrieve rows for, say, a sales transaction, where the date column has not been recorded and is null, or,
- Want a transactions result set for all dates in a contiguous fashion, even if there are no transactions for some dates?
Thanks,
Ian
-
Hi Paul,
Create a parameter that contains all your "proper dates":
Create a List that includes the null dates ("--") Member and the Parameter:
Select the List:
Se the Parameter to be of type Calendar:
Select your range of dates:
And the null dates Member will be included:
Of course, this will pick up all data where the date is null, not just in the range I've selected, because, of course, the date is null so you can't tell what range it falls into.
Hope that helps.
Ian