Forum Discussion
jcastr02
2 years agoPost Prodigy
Filter for TODAY or null values in PQ
I am trying to filter my query for anything that is blank OR the value of the date is greater than or equal to Today. When I select today on the custom filter, it enter today's date but I need it to...
- Anonymous2 years ago
Hi jcastr02 ,
Here is my sample data:Use this M function:
= Table.SelectRows(#"Changed Type", each [Date] = null or [Date] >= Date.From(DateTime.LocalNow()))And the final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jcastr02
2 years agoPost Prodigy
Joseph_Fadero12 Thank you . I tried to put this within the formula, but getting an error - any help is appreciated.
Joseph_Fadero12
2 years agoFrequent Visitor
Hi jcastr02 ,
Can you filter rows by error, and share the screenshot?