Two blank date fields coming up in report when have filtered for dates not equal

  • 0
  • 1
  • Question
  • Updated 11 months ago
  • Answered
I have a report comparing two date fields. If they are not equal they should be present on the report. This is fine when both date fields are entered and different however when both date fields are blank they are also coming up on my report. Is there a way to stop this from happening? 
Photo of Felicity Pendergast

Felicity Pendergast

  • 120 Points 100 badge 2x thumb

Posted 11 months ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,546 Points 50k badge 2x thumb
No problem,

Just add a filter to your report which is "indented"

and
   all 
   [Date 1] is not equal to (blank)
   [Date 2] is not equal to (blank)

Just leave the date blank
Photo of Felicity Pendergast

Felicity Pendergast

  • 120 Points 100 badge 2x thumb
Thanks for this however I'm afraid this is not quite what I'm after. 

The above formula will get rid the entry if either of the dates are blank. I however am interested in these entries and only want  the entries with TWO blank dates to leave the report. 

E.g if I have a date 1 and date 2 and they are the same - not on report.
if i have date 1 missing and date 2 missing - not on report
if I have date 1 and date 2 missing - on report
if I have date 2 missing and date 1 - on report
if i have date 1 and date 2 but they are different - on report. 

Hopefully this makes more sense? 

Thanks again. 
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,546 Points 50k badge 2x thumb
OK, I see that my answer was not correct

Try this


Where
all
[date 1] not equal [date 2]
and
( indented)
 any
            [date 1] not equal blank
            [date 2] not equal blank
Photo of Felicity Pendergast

Felicity Pendergast

  • 120 Points 100 badge 2x thumb
Thank you very much all sorted now!! :-)
Photo of Felicity Pendergast

Felicity Pendergast

  • 120 Points 100 badge 2x thumb
Now that it is working with these date fields e.g. Visit 1 imported from x and Visit 1 imported from Y is there a way to add to the same report a comparison for Visit 2 imported from both X and Y?

Currently I have each visit set up 

any
Visit 1 from X not equal to Visit 1 from Y
Visit 2 from X not equal to Visit 2 from Y
Visit 3 from X not equal to Visit 3 from Y

but I cant seem to add the "any" functions you described above?
Maybe my indentations are quite right?
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,546 Points 50k badge 2x thumb
Can you post a screen shot of your current filters?

Do you understand what I mean by indenting?  Did you hover over the right side to locate the indent icon?
Photo of Felicity Pendergast

Felicity Pendergast

  • 120 Points 100 badge 2x thumb
So this is the report which is working well.
Photo of Felicity Pendergast

Felicity Pendergast

  • 120 Points 100 badge 2x thumb
However I was wondering if there is a way of adding this ANY indent to the following report which has a series of ANY's already in it without showing the double blanks 



Cheers
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,546 Points 50k badge 2x thumb
If you hover beside your first line you can add a line and then indent it.