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.
我需要帮助创建搜索以仅显示在自定义多选字段中选择了多个值的项目。这是通过公式的可能性吗?
谢谢。
试试下面的公式
长度({custitem25}) - 长度(替换({custitem25},',',''))
注意:如果您的多选字段值不包含逗号。
如果您的多选字段中没有逗号,那么它工作正常
我刚试过这个,它工作正常。
它只是使用该公式作为条件来检查和使用通常的 WHEN / THEN / ELSE 的情况。
CASE WHEN LENGTH({user.custentity_zel_ae_sales_team.id}) - LENGTH(REPLACE({user.custentity_zel_ae_sales_team.id},',', '')) > 1 THEN 'MORE THEN ONE' ELSE 'ONLY ONE' END