troubleshooting Question

SSRS Expression

Avatar of aneilg
aneilgFlag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft SQL Server 2008
4 Comments1 Solution732 ViewsLast Modified:
i've got a report that contains a group total.
i have a percentflag - H = time. Y = precent. N = number.

=iif(fields!PercentFlag.Value ="H",format(fields!Time.Value, "HH:mm"),Iif(((Fields!PercentFlag.Value ="Y") AND (Fields!Value.Value >0)),Format(Sum(Fields!Value.Value *100), "0.0")  & "%",
Iif(((Fields!PercentFlag.Value ="Y") AND (Fields!Value.Value <0)),Format(Sum(Fields!Value.Value *100), "0.0")  & "%",

the problem is my totals are not correct.

they are being displayed as.
N = ok
Y = 0274433
H = nothing being displayed.
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros