Home > Forum > General > View filter on empty date

View filter on empty date
0

Hi Community!

I tried to create a view which returns all elements from a specified workflow that have a datetime field NOT set (empty),
but that seems to be impossible.

I do not know how to filter that, a standard filter in the view with selected field equals to value in textfield
does not solve that.

I am pretty sure there is a trick how to do that I am not aware of ;-)

Many thanks in advance & best regards, Nik

MVP

Hi Nik,

my best bet is the following:
Create a calculated column, where you use ISNULL to return a predefined value if the field doesn't have a value.
You can than use this value in an additional filter for the specific view.

One other approach would be to use a sql query in the source tab but this will be applied to each view.

Edit: I wonder why I didn't use a case expression to return 0/1 (true/false) :)

Best regards,
Daniel

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.