cancel
Showing results for 
Search instead for 
Did you mean: 

Equivalent for Not(in_range ).

0 Kudos

I am recreating a calculation from Cognos.

Cognos equation:

not([Rejected Date - Order Received Date] in_range{000 00:00.000:01 00:00:00.000})

The goal of the equation is we don't want to count it if it is received and rejected on the same day. I created a variable= [Rejected Date - Order Received Date] and was attempting to resolve it with DaysBetween.

denis_konovalov
Active Contributor
0 Kudos

tags adjusted to better match question subject.

DellSC
Active Contributor
0 Kudos

Are you filtering out records that were received and rejected on the same day, or are you showing them but not counting them?

0 Kudos

I am filtering them. ( your first option)

Accepted Solutions (0)

Answers (1)

Answers (1)

ayman_salem
Active Contributor
0 Kudos

v_s1: = If ([Order Received Date] = [Rejected Date]) then 0 else 1

v_count: =sum(v_s1)