在表达式中返回零而不是将其留空

Returning Zero in an expression rather than just leaving it blank

我有这个表达式可以计算出丢失数据的百分比。工作正常,但当结果为 0 时,它只显示 % 符号,我需要向下面的表达式添加什么以显示零而不是空白?

=format(sum(Fields!CountBEFORE.Value-Fields!CountAFTER.Value)/sum(Fields!CountBEFORE.Value)*100, "#.##") & "%"

试试这个:

=format(sum(Fields!CountBEFORE.Value-
Fields!CountAFTER.Value)/sum(Fields!CountBEFORE.Value)*100, "0.##") & "%"

如果有帮助请告诉我。