Sir
Greeting for the day
I am facing aproblem in report in asp.net c#.
I have below records in my query and Total is coming perfectly but when i want to take total of part seperate and labour it is showing Error.
I am using below formula in expression but report is showing #error
Please help me
=Sum(IIf(Fields!EntryType.Value="PART", Fields!Amount.Value,0))
Sr,No |
Item |
Qty |
Amount |
Type |
1 |
Item-1 |
2 |
500 |
Part |
2 |
Item-2 |
1 |
600 |
Part |
3 |
Item-3 |
0 |
750 |
Labour |
4 |
Item-4 |
0 |
120 |
Labour |
|
|
Total |
1970 |
|
|
|
|
|
|
|
|
Part total |
1100 |
Error
|
|
|
Labour Total |
870 |
Error |