@Mahii ,
If that is the case, then the query that you are using wouldn’t really work. Also, The mentioned statement points out again to the Input Data itself.
Do you want to filter any values based on date ? Do you want to remove the empty values present in the data ?
If you could provide us with Input data and it’s expected output, we would be able to help you better.