我正在尝试使用脚本加载一些表,以便根据 IF 条件创建新表。
我的脚本如下:
LOAD Pippo
if(color = 'green', 'ok',
if(color = 'yellow' and text <> 'No control needed', 'check',
if(color = 'red' and text <> 'Control now', 'check', 'ok'))) as Pippo1
在color = yellow的行中,我想捕捉不同的情况,因为有许多以“不需要控制”开头的文本出现(例如,不需要控制(1 周),不需要控制(2 周)),我想全选。
我尝试使用:text<>'不需要控件' *,但它不起作用。
有什么建议么?