简体   繁体   English

根据值切换项目-SSRS

[英]Toggle item based on value - SSRS

Is it possible to have no expand '+' sign when Total is zero? 当总计为零时,是否可能没有扩展的“ +”号?

In the first screen shot, flight and travel expenses can be viewded by expanding visit Date. 在第一个屏幕截图中,可以通过扩展访问日期来查看航班和差旅费用。

I was wondering if it is possible to have no toggle or no expand sign '+' when there are no expenses as shown in second screen shot? 我想知道当第二个屏幕截图中没有显示任何费用时,是否有可能没有切换或没有展开符号“ +”?

在此处输入图片说明

Insert a column to the right of "visitdate", name this as "independent" 在“访问”右侧插入一列,将其命名为“独立”

For flight expenses and travel expenses, go to Text properties,Visibility click display can be toggled by this report item and select the name of the new column you have just inserted: "independent" 对于航班费用和差旅费用,请转到“文本”属性,此报告项可以切换“可见性”单击显示,然后选择刚插入的新列的名称:“独立”

For the "independent" field, go to Text properties,Visibility, click show or hide based upon an expression, click the "fx" button and input the following: =iif(Fields!Flight_Expense.Value = 0 Or Fields!Travel_Expense.Value = 0, True,False ) 对于“独立”字段,请转到“文本属性”,“可见性”,单击基于表达式的显示或隐藏,单击“ fx”按钮并输入以下内容:= iif(Fields!Flight_Expense.Value = 0或Fields!Travel_Expense.Value = 0,正确,错误)

Hope this helps 希望这可以帮助

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

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