Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 RDLC 的饼图中删除空值图例值。我在可见性属性中设置了一个表达式。
=IIf(Fields!grp.Value = "", True, False)
但它不起作用。但是数据集中的 grp 值为空。
如果您实际上正在处理null,您应该尝试以下表达式:
null
=IIf(IsNothing(Fields!grp.Value), True, False)
对于一个空字符串,你也可以试试这个:
=IIf(Len(Fields!grp.Value) = 0, True, False)