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.
我有一个带有标签的仪表,其中包含仪表所基于的数据集中列中的值。有时不会有特定行的值。我从另一个报告中传递了一个人的名字。这可以正常工作,但如果该人没有值,则显示“文本”。如果是,它会显示数值。如何控制标签中显示的内容而不是“文本”?谢谢。
使用表达式来测试可能传入的值,如果它丢失/无效,请将其替换为其他值。IsNothing() 或 Len()/Length() 听起来像是您需要的。