RDLC中的总和,带有过滤后的字符串

时间:2015-11-10 07:48:59

标签: vb.net rdlc

我有那张桌子:

DATE       |  TIME    | DIAL  |  CALL TYPE  |     CALLED  | DURATION | CHARGE
01/01/2015 | 00:13:12 | 49771 | CEL - Globe | 09063561177 | 00:02:42 | 12.60
01/30/2015 | 23:29:21 | 49771 | CEL - Globe | 09178287737 | 00:02:04 | 12.60
01/05/2015 | 19:50:08 | 49771 | CEL - Globe | 09178287737 | 00:02:16 | 12.60
01/04/2015 | 22:00:18 | 49771 | CEL - Globe | 09178287737 | 00:09:05 | 42.00
                                                            Total Php 124.00

我的问题是,我怎样才能分别获得总电话,总idd电话和总ndd电话?我的意思是:

Summary Report:
Total Cell Calls: Php 20.00  
Total NDD Calls: Php 20.00  
Total IDD Calls: Php 84.00  
Total Calls: Php 124.00  
Vat 12%:    14.89  
Total: Php 138.88 

我已尝试过此代码:

=SUM(IIf(Fields!cdr_call_type_code.Value="CEL",Fields!cdr_charge_amount.Value,0)) 

但它不起作用。

0 个答案:

没有答案