I have an array of phone numbers in my pentaho workflow. I am using split fields to rows activity and I am able to split that array to rows. Now I want to split multiple fields to row by using 'split field to rows' only once. I tried giving comma as a delimiter in the 'Fields to Split' in the input but getting error.
How I can split multiple fields to rows by using 'split fields to rows' activity once ?
[P.S. see attached image for referance]
The Split field to rows accept only one input field to split.
You may put a series of Split field to rows, one for each field.
Alternatively, you may concatenate your multiple fields in a single field before to split it.
Related
Follow on from Excel Count unique value multiple columns
I am trying to filter and setup a table containing all the unique combinations of message types.
So with three message types as an example below, I want to create a table with all the possible flows from this.
So every time MessageA exists, it is either followed by a MessageA, MessageB, MessageC or is the last of the sequence.
And everytime we see MessageC it is only followed by MessageA.
On the left, is the data and on the right is the desired result.
I want this to be able to scale to multiple columns/rows
You could do it by comparing two offset ranges, A1:D5 and B1:E5
=SUMPRODUCT(($A$1:$D$5=$G2)*($B$1:$E$5=K$1))
As you can see, I have cheated slightly by setting K1 blank so it compares correctly with column E, but this could be made part of a longer formula if it was necessary to have END as the column header for K.
Is it possible to create an input field with multiple lines?
Or is the single string input the only option at this time?
(##param {type:"string"})
We want to make an input field with multiple rows, for example a list of string values.
I have a SQL query outputting a column which contains data from emails and chart conversations with lot of spaces, special characters, how can I clean and make this data show up in one row so that I could save the table output into a CSV file.
PS: the query output is in millions.
This could help. Instead of the space character use just empty quotes as the third parameter.
I'm attempting to import in open-refine a csv extracted from a NoSQL database (Cassandra) without headers and with different number of columns per record.
For instance, fields are comma separated and could look like below:
1 - userid:100456, type:specific, status:read, feedback:valid
2 - userid:100456, status:notread, message:"some random stuff here but with quotation marks", language:french
There's a maximum number of columns and there aren't cleansing required on their names.
How do I make up a big excel file I could mine using pivot table?
If you can get JSON instead, Refine will ingest it directly.
If that's not a possibility, I'd probably do something along the lines of:
import as lines of text
split into two columns containing row ID and fields
split multi-valued cells on fields column using comma as a separatd
split fields column into two columns using colon as a separate
use key/value on these two columns to unfold into columns
I have two columns in an UltraWinGrid. The first column is rich text formatted text. The second column has the plain text equivalent (RTF removed) of the first column.
I am only showing the first, RTF formatted, column to the user. When the user types in the filter row, I'd like to filter by the second, hidden, column. Is this possible?