asp.net - Values wrong SUM rows in report viewer -
in report there 3 lines, last line should add previous lines. i'm using = sum (fields!num1.value), num1 dataset field loads report. sum of these fields returning wrong values. experiencing situation this?
regards
you may need add second parameter of sum() method (the scope).
for example, if dataset called "dataset1", have:
=sum(fields!num1.value, "dataset1")
additionally, depending on values being filled these columns in dataset, may need convert them data type engine can sum. if you're filling column string representation of integer, example "15" (note string), have convert value integer.
Comments
Post a Comment