简体   繁体   English

SSRS使报告从负值开始

[英]SSRS make reports start from negative values

Is possible to make a report start from a negative value? 可以使报告从负值开始吗?

I mean for example when a line chart or bar chart finds a value in a report it displays it from a specific negative value instead of 0. 我的意思是,例如,当折线图或条形图在报表中找到一个值时,它会从特定的负值(而不是0)显示出来。

ssrs line chart starting from negative number ssrs折线图从负数开始

Go to the Axis properties of the Axis you want to start at a specific value and enter a value or an expression in the Min property. 转到要从特定值开始的Axis的Axis属性,然后在Min属性中输入一个值或表达式。 SO you could put in aa simple number eg -5 or you could make it dynamic, something like 因此,您可以输入一个简单的数字,例如-5,也可以将其设置为动态数字,例如

=IIF(Sum(SalesAmount)<100, -30, 0)

If this is not what you are after, please provide more details. 如果这不是您想要的,请提供更多详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM