Skip to main content
Answer

Report Designer - Filter (DateAdd) not working

  • May 17, 2023
  • 3 replies
  • 179 views

ketiller
Jr Varsity III
Forum|alt.badge.img

Hi all,

I am struggling with a report filter, when I attempt the below filter I am only receiving about 20 results and the GI has 370. 

Any suggestions? 

Thank you,

Kage

Best answer by Naveen Boga

Hi, @ketiller  Have you printed the value in a text box for this → DateAdd(Today(), ‘d’, -1) and showing the proper value?

if yes, it should work in the conditions as well.

3 replies

Forum|alt.badge.img
  • Jr Varsity II
  • May 17, 2023

Hi all,

I am struggling with a report filter, when I attempt the below filter I am only receiving about 20 results and the GI has 370. 

Any suggestions? 

Thank you,

Kage

Just a quick thought -- switch over to the relationships tab and check your parent/child joins (inner vs left etc). Also maybe the RLike =’PR’ might be the culprit?


ketiller
Jr Varsity III
Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • May 17, 2023

@swartzfeger Thanks for the suggestion! I switched it over to Like and got a similar result. So, it was matching the GI I built until I added the last filter, so I suspect that is the problem.

Thanks,

KT


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • Answer
  • May 18, 2023

Hi, @ketiller  Have you printed the value in a text box for this → DateAdd(Today(), ‘d’, -1) and showing the proper value?

if yes, it should work in the conditions as well.