Ok thank you, I made some columns in a sharepoint list and added some items. Using the -14 days from today 5/10/2023 would be 4/26/2023. So I have 2 items in my sharepoint list with the date of 04/26/2023. The first item does not have an email address in an Email text column, and the second item does contain an email address.
I was able to get the single item that has a date of 04/26/2023 and does not have an email with the filter query example below.
Note: The view you have with the Filter Query that has drop down options in considered "Experimental Features". If your settings has turned On the Experimental Features, the view will look like yours with the drop down options.
If you turn Off the Experimental Features then the dropdowns are not available and the Filter Query has to be written in all the way.
The two arrows beside Filter Query will toggle the view between the regular view and the Experimental Feature view.
Below is an example of the same step that has the view toggled.
Filter Query Views
Whenever you use the Experimental Features type view it will add single quotes ' ' around what is put in the filter value even though you are not able to see the single quotes. (If you went into the Peek Code option of the action you can see the quotes were added.)
Single quotes usually work and are required for most values used in a filter query, but the quotes will not work when using null. You will have to toggle the view to be the regular text format and then remove the single quotes ' ' that are around 'null'. So the expression shows null instead of a text 'null' .
Below is the same step that had the view toggled and the filter value 'null' changed to null without single quotes.
Edit Filter Query
I was able to filter my items with this example.
The name of my SharePoint columns were "SP_Text_Email" and "SP_Text_EffectiveDate". I also had a separate column "SP_DateTime_EffectiveDate" that was a date time type column, but the results were the same when the date column was text as well as date time.
My Filter Query is below.
Incorrect:
(SP_Text_Email eq 'null') and (SP_Text_EffectiveDate eq 'formatDateTime(addDays(utcNow(),-14),'MM/dd/yyyy')')
Correct:
(SP_Text_Email eq null) and (SP_Text_EffectiveDate eq 'formatDateTime(addDays(utcNow(),-14),'MM/dd/yyyy')')