Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
william_fu
Creator II
Creator II

Max value from a column

  How can I calculate the desired Max(Step) column in the script?

IDStepMax(Step)
51962311
52031712
52031722
52185311
52327313
52327323
52327333

I tried with FieldValue, but this gives me the overall max instead of the max by ID:

Left Join ([table])

LOAD Max(FieldValue('Step', recno()))) as MaxStep

Resident

;

1 Solution

Accepted Solutions
sunny_talwar

May be just do this

Left Join (table)

LOAD ID,

     Max(Step) as MaxStep

Resident table

Group By ID;

View solution in original post

1 Reply
sunny_talwar

May be just do this

Left Join (table)

LOAD ID,

     Max(Step) as MaxStep

Resident table

Group By ID;