我有一個包含數字的列的數據集。但是,該列中的某些行缺少數據。一個短劃線( - )被放置在單元格中,而不是數字。在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