Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Result comparion between 2 dates

Hi,

I have the following two tables Joined in the datamodel and I need to show the comparison between data for two date selections.

Lets say the dates are start and end date.

Requirement:  1.Report all the records that had passed on 01/06/2014 but failed on 22/06/2014

                         2. Find all records that have failed on 22/06/2014 but were not present on 01/06/2014

How can we achieve this?

test.jpg

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

may be i don't understand your question properly.. you can try below

=COUNT({<Result = {'PASS'}, DATE = {'01/06/2014'},KEY = P({1<Result = {'FAIL'},DATE = {'22/06/2014'}>}KEY)>}KEY)

and

=COUNT({<Result = {'FAIL'}, DATE = {'22/06/2014'},KEY = E({1<DATE = {'01/06/2014'}>}KEY)>}KEY)

View solution in original post

4 Replies
MK_QSL
MVP
MVP

it's possible.. provide sample data in excel format please.

Not applicable
Author

Please find attached the xls

MK_QSL
MVP
MVP

may be i don't understand your question properly.. you can try below

=COUNT({<Result = {'PASS'}, DATE = {'01/06/2014'},KEY = P({1<Result = {'FAIL'},DATE = {'22/06/2014'}>}KEY)>}KEY)

and

=COUNT({<Result = {'FAIL'}, DATE = {'22/06/2014'},KEY = E({1<DATE = {'01/06/2014'}>}KEY)>}KEY)

Not applicable
Author

That was brilliant mate Thanks a ton