I am creating a flow that uses the "SQL Get Rows (V2)" in Microsoft Flow. In the SQL table I have a DateTime field called "dtLastModified". I am trying to return only rows that have the "dtLastModified" field with dates greater than a certain date. I'm using the Odata Filter Query field with the expression:
dtLastModified gt '2020-01-01'
The problem is that some of the "dtLastModified" fields don't have values in them and are NULL. When you run the flow you will get a bad request error because of the NULL value fields. So then I tried using the following expression:
dtLastModified ne NULL and dtLastModified gt '2020-01-01'
Again I get a bad request error. Note I can run the query using just:
dtLastModified ne NULL
and it does return all rows that contain a date but that does not help. Any suggestions?