如果字段在Salesforce中为空

发布于 2025-02-05 06:31:16 字数 241 浏览 2 评论 0 原文

我在Salesforce上有一份报告,我需要使用“如果” - flogic,但是我不知道是否可能。

我有两个列。 A列A(Object1)和B列(Object2) A列有时为空,但是B列总是具有值/文本。

我想应用一个逻辑上的话,上面写着“如果列是空的,请在这种情况下显示B/Object 2列的文本”。

可以这样做吗?

最后,我应该看到一个报告A列永远不会空的报告。

感谢我能得到的任何帮助。

I have a report in Salesforce where I would need to use an "if"-logic, but I don't know if it's possible.

I have two columns. Column A (object1) and column B (object2)
Column A is sometimes empty, but column B always has a value/text.

I want to apply an if-logic that says "If column A is empty, show text of column B/object 2 in that case".

Is it possible to do this?

At the end I should see a report where column A is never empty.

I appreciate any help I can get.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光匆匆的小流年 2025-02-12 06:31:16

阅读有关函数。您可以在普通公式字段中使用它(如果A和B之间存在明确的关系)或在报告的行级公式

对于任何真实的应用程序来说,这都是一个可怕的想法 - 但是如果Contact的城市空白,这里提供了帐户的城市。

”在此处输入图像说明”

Read up about BLANKVALUE function. You can use it in a normal formula field (if there's clear relation between A and B) or in a report's row-level formula.

This is a terrible idea for any real application - but here's providing Account's City if Contact's City is blank.

enter image description here

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文