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.
我有一个表格,其中的单元格可能包含几个定义的单词之一(例如“管道”或“遏制”)。我想根据表格中的单词显示特定于该单词的短语。因此,如果表格显示管道,则希望我的报告部分显示“......该区域的管道......”空值也将返回特定文本。
一份CASE声明呢?像这样的东西:
CASE
CASE {column} WHEN 'Piping' THEN 'Piping in this area' WHEN 'Containment' THEN 'Etc....' END AS "Project status?"