문제

I have used WCF as data source to my report file. I have bind the dataset to my report. But when try to add subtotal or use SUM() in a cloumn of the tablix then while preview my report that column show "#Error" while all other columns gets filled with the data binded. Please help me to add subtotals in RDL (SSRS 2008) with xml data source. enter image description here

In the image "#Error" appears when i use SUM()

도움이 되었습니까?

해결책

The reason behind this is that when we bind xml data with rdl file then it donot implesitly identify the datatype of the data. It assume data as string.

So in order to apply aggregation function in report we will have to explicitly convert it into the relavent datatype.

For Example: =SUM(CDec(Fields!Amount.Value))

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top