FIlter to get records with due date after 3 days

Shivani29
Mega Guru

Hi All,

I am adding filter on a table where i want to get the records with state is 2 and due date is 3 days from today. for example: today is 10th June , so I want the records with due date 13th june. I used below filter but it is giving me the records with all due dates which are after 3 days from now.

state=2^questionnaire_due_dateRELATIVEGT@dayofweek@ahead@3

result of this is:

find_real_file.png

The circled one should not come. 

Any help please !!

Regards,
Shivani

1 ACCEPTED SOLUTION

einvaldserigsta
Kilo Sage

Hi,

You need to add both before and after query:
find_real_file.png
Giving you this query:due_dateRELATIVEGT@dayofweek@ahead@3^due_dateRELATIVELT@dayofweek@ahead@4

 

Hope this helps!

Einvald

View solution in original post

4 REPLIES 4

Chandu Telu
Tera Guru

Hi ,

Try the below query

due_dateRELATIVELT@dayofweek@ahead@3

find_real_file.png

 

Thanks

Chandu Telu

Hi,

Thanks for your reply. Already tried this but it gives all the records which due date was before 3 days from now and i need after 3 days exact.

Rgds,
Shivani

einvaldserigsta
Kilo Sage

Hi,

You need to add both before and after query:
find_real_file.png
Giving you this query:due_dateRELATIVEGT@dayofweek@ahead@3^due_dateRELATIVELT@dayofweek@ahead@4

 

Hope this helps!

Einvald

Hi Einvald,

Thanks for your quick help. It is working.

Rgds,
Shivani