If I have a csv(or excel) input file that looks like this:
Columns -> UID/USERNAME/TRAN_AMT/TOTAL_SPENT
Sample data:
123 edmund_p 2.25
123 edmund_p 3.00
123 edmund_p 4.00
123 edmund_p 2.00 11.25
9282 alison_t 5.00
9282 alison_t 25.00
9282 alison_t 10.50
9282 alison_t p 10.00 50.50
If I want to read this data an populate a table (or excel file) like this, is there a built in way to do it with Pentaho ETL?
Desired Output:
123 edmund_p 2.25 11.25
123 edmund_p 3.00 11.25
123 edmund_p 4.00 11.25
123 edmund_p 2.00 11.25
9282 alison_t 5.00 50.50
9282 alison_t 25.00 50.50
9282 alison_t 10.50 50.50
9282 alison_t p 10.00 50.50
essentially, I want to "fill in" the "total spent" wherever it is empty with the value of the column from the last row for that particular
Any advice would be appreciated
Columns -> UID/USERNAME/TRAN_AMT/TOTAL_SPENT
Sample data:
123 edmund_p 2.25
123 edmund_p 3.00
123 edmund_p 4.00
123 edmund_p 2.00 11.25
9282 alison_t 5.00
9282 alison_t 25.00
9282 alison_t 10.50
9282 alison_t p 10.00 50.50
If I want to read this data an populate a table (or excel file) like this, is there a built in way to do it with Pentaho ETL?
Desired Output:
123 edmund_p 2.25 11.25
123 edmund_p 3.00 11.25
123 edmund_p 4.00 11.25
123 edmund_p 2.00 11.25
9282 alison_t 5.00 50.50
9282 alison_t 25.00 50.50
9282 alison_t 10.50 50.50
9282 alison_t p 10.00 50.50
essentially, I want to "fill in" the "total spent" wherever it is empty with the value of the column from the last row for that particular
Any advice would be appreciated