计算过滤表项的总和 [英] Calculate sum Of Filtered Table items

查看:90
本文介绍了计算过滤表项的总和的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我问这个问题5次,但从未回答!如果有人可以帮我在这里回答!

我在MICROSOFT ReportViewer( NOT Crystal Report )中有一个表.该表已按某些项目(如薪水系统中的年和月等)进行过滤. [当我输入参数Year 2012和June月时,我只看到该日期的人员薪水] /u>
现在我要计算该日期所有人员薪金的总和,并将其写在该日期的表的页脚中.

我使用 SUM 函数.但它无法正常运行... SUM函数计算所有日期中的所有薪水值(不只是过滤项)

请并且请帮助我我该怎么做?!
非常非常感谢您,对英语不佳表示抱歉.

Hi i ask this problem 5 times but never take a answer ! Please if anybody can help me answer here !

i have an Table in my MICROSOFT ReportViewer(NOT Crystal Report) . This Table Filtered By some items (such as Year And month in salary System) [my mean when i Enter Parameters Year 2012 and Month June , i See just Salary of Personnel in That Date ]
Now i Want calculate Sum of all Personnels Salary (in That Date) and Write it in Footer of Table in That Date .

i Use SUM Function . but its not Worked True ... SUM Function Calculate all Salary Values in all Dates (Not Filtered Item Just)

Please And Please Help me How can i do This ?!
very Very Thank you and sorry for Weak English .

推荐答案

尽管您没有回答我的问题,我会尽力帮助您... >
首先,请查看 ReportViewer [ ^ ]控件并仔细阅读所有部分.

您可能会在以下位置找到答案: ReportViewer的常用表达式 [ ^ ]和/或位于: ReportViewer的内置函数报告 [ ^ ]

代替SUM,使用COUNT函数;)

希望对您有所帮助.
Despite that you do not answer my question, i''ll try to help you...

First of all, take a look at ReportViewer[^] control and read carefully all sections.

Probably, the answer you''ll find at: Common Expressions for ReportViewer[^] and/or at: Built-in Functions for ReportViewer Reports[^]

Instead of SUM, use COUNT function ;)

I hope it will be helpful.


这篇关于计算过滤表项的总和的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆