我有一个包含数字的列的数据集。但是,该列中的某些行缺少数据。一个短划线( - )被放置在单元格中,而不是数字。在Pentaho中过滤行
我想要发生的是用破折号分隔这些行,并将它们输出到单独的excel文件。那些没有破折号的,应该输出到一个csv文件。
我试着“过滤器行”,但它给我一个错误:
Unexpected conversion error while converting value [constant String] to a Number
constant String : couldn't convert String to number
constant String : couldn't convert String to number : non-numeric character found at position 1 for value [-]
我的条件是,如果
Column1 CONTAINS - (String)
是您的来电字段定义为一个数字可能?最好将其定义为字符串,然后在过滤后再将“好”行转换为数字。 – Cyrus