all groups > sql server reporting services > august 2006 >
You're in the

sql server reporting services

group:

Expression help


Expression help Mandoskippy
8/4/2006 6:49:14 AM
sql server reporting services: Howdy, I think this will be aneasy question. I want to return the Max
of three database fields.

I might have Serious = 20 and Medium = 10 and Low = 30

In that case I want it to return 30.


if it is Serious = 2 Medium = 0 and Low = 5

I want it to return 5


If it is serious = 0 Medium =10 Low =3

I want it to return 10.

I am looking at the Max function (aggregate) and can't figure out the
syntaxt. Any help would be appreciated.
RE: Expression help Kelly
8/4/2006 1:24:01 PM
try
=Math.Max(Fields!Low.Value,Math.Max(Fields!Medium.Value,Fields!Serious.Value))

[quoted text, click to view]
AddThis Social Bookmark Button