Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get the Max Value for Each Row over 3 Fields

Hello,

I have the following table:

ak atd bk btd ck ctd
1517/05/20131019/02/20133,6809/02/2013
301/07/2013710/04/20134,0223/03/2013
2524/07/20133822/06/20133,8915/08/2013

  • ak (value) & atd (date: DD/MM/YYYY)
  • bk (value) & btd (date: DD/MM/YYYY)
  • ck (value) & ctd (date: DD/MM/YYYY)

What I need is to get the max value for each row and the corresponding date.


That means I should get something like the following:

valuedate
1517/05/2013
710/04/2013
3822/06/2013

Is there any way to do that?

Thank you!!!

5 Replies
ychaitanya
Creator III
Creator III

Not Clear with the question.. can you be clear and if possible can you attach app?

Not applicable
Author

Hi there,

You can use RangeMax(max(ak),max(bk),max(ck)) for the max of each of the 3 columns.

Not applicable
Author

I have this table and I need to get only the values in bold:

akatdbkbtdckctd
1517/05/20131019/02/20133,6809/02/2013
301/07/2013710/04/20134,0223/03/2013
2524/07/20133822/06/20133,8915/08/2013
Not applicable
Author

your asking max value but in first row 25 is the max  but u highlighted 15?

Not applicable
Author

Yes but the max is per row, not per column, that's why.

Max1:

akatdbkbtdckctd
1517/05/20131019/02/20133,6809/02/2013