vb.NET 中带有 rdlc 报告的问题小计矩阵
我有一个矩阵,我需要将今年和过去几年赚的钱相加。但是,我必须把过去几年花的钱去掉。我必须有每年的单独金额和这些金额的总和。这就是我的矩阵:
Year
= Fields!Year.value =formatnumber((sum(Fields!Results.Value))-(sum(iif(
Fields!Year.value < Parameters!choosedYear.Value,
Fields!Moneyspent.value,0))), 2) & "$"
但是,小计给了我一个错误。我应该怎么办?
PS:我已经发现小计给了我一个错误,因为它不在 rowgroup1 的范围内,但是有没有办法获取小计中的范围?或者有人可以找到另一种方法来做到这一点吗?
I have a matrix and I need to add the money earned this year and past years. However, I must remove the money spent in past years. I must have the separate amount per year and the total of these amounts. This is what gives my matrix:
Year
= Fields!Year.value =formatnumber((sum(Fields!Results.Value))-(sum(iif(
Fields!Year.value < Parameters!choosedYear.Value,
Fields!Moneyspent.value,0))), 2) & "$"
However, the subtotal gives me an error. What should I do?
P.S.: I already found that the subtotal gives me an error because it's not in the scope of the rowgroup1, but is there a way to get the scope in the subtotal? or can anybody find another way to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试这样
try like this