当列的值返回为 0 时,如何在 Visual Studio 或报表生成器中隐藏分组列

问题描述 投票:0回答:1

我已经对一列进行了分组,当我运行查询时,报告输出正常,但是在分组列下,如果一个或多个列的值 = 0,则列标题消失。我想隐藏这个列。请参阅附图以更好地理解。

enter image description here enter image description here 请指教

我使用以下公式来隐藏该列,但没有任何效果。

=iif(Fields!column_name.Value=Nothing,True,False)
visual-studio reporting-services reportbuilder
1个回答
0
投票

没有什么是 NULL 值,听起来你只是在寻找 0

=Fields!Field_Name.Value = 0

=IIf(Fields!Field_Name.Value > 0, False,True)
© www.soinside.com 2019 - 2024. All rights reserved.