Max Value on 3 fields

Stimulsoft Reports.NET discussion
Post Reply
brjohnsmith
Posts: 30
Joined: Mon Jan 29, 2018 11:04 am

Max Value on 3 fields

Post 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.
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Max Value on 3 fields

Post by Lech Kulikowski »

Hello,

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

Thank you.
ulli82
Posts: 47
Joined: Tue Jul 06, 2021 6:46 am

Re: Max Value on 3 fields

Post by ulli82 »

{Maximum(DataSource.Column1, Maximum(DataSource.Column2, DataSource.Column3))}
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Max Value on 3 fields

Post by Lech Kulikowski »

Hello,

Thank you for the information.
Post Reply