vbnetcoder
asked on
SQL expression /// sum SSRS
In the following expression:
=Sum(iif(cint(Fields!Range .Value) >= 0 And cint(Fields!Range.Value) <= 124999
And (Fields!Date2 = Max(iif(Fields!Range.Value >= 0 And Fields!Range.Value <= 124999 and Fields!Date1.Value
=Max(Fields!Date1.Value, "Master_Policy_Number")
,Fields!Date2, Nothing), "Master_Policy_Number")),
cint(Fields!Range.Value), 0))
I need to sum 1 and ONLY one where the coditions are met..
How???
=Sum(iif(cint(Fields!Range
And (Fields!Date2 = Max(iif(Fields!Range.Value
=Max(Fields!Date1.Value, "Master_Policy_Number")
,Fields!Date2, Nothing), "Master_Policy_Number")),
cint(Fields!Range.Value), 0))
I need to sum 1 and ONLY one where the coditions are met..
How???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can you please explain in details your iisue.. currently your syntax is wrong
ASKER
ty