Page 1 of 1

Max Value on 3 fields

Posted: Sat Feb 04, 2023 8:15 pm
by brjohnsmith
Hi,
It seems that the function Max can return the max of the value for 2 columns, however, I need the same comparison, but with 3 Columns, how can I do it?

For regular expression: {Maximum(DataSource.Column1,DataSource.Column2)}

thx.

Re: Max Value on 3 fields

Posted: Mon Feb 06, 2023 1:47 pm
by Lech Kulikowski
Hello,

There are no Max, Maximum functions with three arguments. You can add your own function.

Thank you.

Re: Max Value on 3 fields

Posted: Tue Feb 07, 2023 7:06 am
by ulli82
{Maximum(DataSource.Column1, Maximum(DataSource.Column2, DataSource.Column3))}

Re: Max Value on 3 fields

Posted: Tue Feb 07, 2023 7:30 am
by Lech Kulikowski
Hello,

Thank you for the information.