Forum Discussion

garynorcrossmmc's avatar
garynorcrossmmc
Advocate IV
4 years ago
Solved

Calculating 'In' and 'Out' Records

Hi all,

I have a data table that looks like this:

PERSONIDEFFFROMDATEEFFTODATETNFR_CC_CHANGE_INDIM_FROM_RC_KEYDIM_RC_KEY
10031103/1/20183/31/201816740068211
10031108/1/20208/1/202016821170515

 

Each record with a value of 1 for the TNFR_CC_CHANGE_IN field represents an employee transfer.  The request from the user base is identify where there is a transfer in and a transfer out (2 separate measures) based on the selected DIM_RC_KEY value.  So, if a user filtered the report on DIM_RC_KEY = 70515 (or any attributes related to this value), the 'Transfer In' measure should show a value of 1.  If a user filtered the report on DIM_RC_KEY = 68211, the 'Transfer Out' measure should show a value of 1.  

Is this possible to achieve through 2 measures?

 

Thanks in advance!

1 Reply