[英]How can I write expression to take an subtraction of two fields in ssrs?
I'm working on SSRS report. 我正在研究SSRS报告。
There are two main fields CurrentMV
and PreviousMV
. 有两个主要字段
CurrentMV
和PreviousMV
。
field CurrentMV
having expression =Sum(Fields!CurrentMV.Value)
字段
CurrentMV
具有表达=Sum(Fields!CurrentMV.Value)
field PreviousMV
having expression =Previous(Sum(Fields!CurrentMV.Value))
字段
PreviousMV
具有表达=Previous(Sum(Fields!CurrentMV.Value))
I'm having another field on report MTM
which is nothing but difference between 我在报表
MTM
上有另一个字段,不过
CurrentMV- PreviousMV
How can I write expression for MTM
as there is already expression used in CurrentMV
and PreviousMV
CurrentMV- PreviousMV
如何为MTM
编写表达式,因为CurrentMV
和PreviousMV
已经使用了表达式
please help me. 请帮我。
=Sum(Fields!CurrentMV.Value) - Previous(Sum(Fields!CurrentMV.Value))
吗?
=Sum(Fields!CurrentMV.Value)-Previous(Sum(Fields!CurrentMV.Value))
? =Sum(Fields!CurrentMV.Value)-Previous(Sum(Fields!CurrentMV.Value))
? or am I missing something obvious? 还是我缺少明显的东西?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.