Skip to main content

I have three separate CSVs (readers below in yellow) to which I have added several transformers. I first added a “AttributeFilter” to filter through two values. I then connected to an “AttributeValueMapper” to map the previous two values to given names. Then I added a “StatisticsCalculator” to sum the values within these two values. Then an “ExpressionEvaluator” to convert the values from feet into miles and after an “AtributeRenamer” to rename the field names. Lastly, I added an “AttributeCreator” to add a third field of data. 

This is seen in the picture below of my workflow. 

At the end of the workflow, I added an “AttributePivoter” in an attempt to merge all of these together before attaching a Writer and exporting the results as an Excel Sheet. I am not sure the AttributePivoter might be the best way to merge all of this. What would be a better approach before adding the Writer?

Thanks!

Actually, it is much simpler than I thought. I do not need the “AttributePivoter” transformer at the end. I just needed to connect the last three transformers (AttributeCreator) onto the Writer to result in the Excel sheet, do not need another transformer to merge all three data tables into one.


Reply