Skip to main content

Hi All,

 

I have a table structured like

Calculated field based on other fields

 

I would like to create a new calculated field called Pilot that would be derived from New with the conditon that for every ID and Field_Name and the altest Time there should be only one Pilot

 

the new table should look like this -

Screen+Shot+2020-01-18+at+11.36.37+AM.png

 

Any suggestion would be appreciated. Thank you

 

Attaching the sample file.

 

Regards,

RS

3 respostas
  1. 18 de jan. de 2020, 20:11

    Try the following calculated field:

     

    Pilot

    // Get the max date/time for each ID and action.

    // Then, based on that, get the value of New.

    // Use an LOD to get this max value of New.

    {FIXED [ID], [Field Name]: MAX(

        IF [Create Time] = {FIXED [ID], [Field Name]: MAX([Create Time])} THEN

            [New]

        END

    )}

     

    Try the following calculated field: Pilot// Get the max date/time for each ID and action.// Then, based on that, get the value of New.// Use an LOD to get this max value of New.

0/9000