I am trying to modify a 100-row excel input file by adding a new header, "PGM TYPE" and hard code "0001" in every row in this new column. I know you can use the generate rows tool to add a column to an input file but I'm having challenges adding the "0001" value for each row. Any feedback is appreciated - thanks!
Hi @Grape
There are two ways:
Just use a simple formula tool.
Hi @Grape
It is my understanding that you are trying to add a new column in data and value of this new column will be '0001' for all the 100 records.
To do this you can use formula tool.
Hi @Grape ,
You don't need to use Generate Rows tool. When you use the formula tool. The expression inside is applied to all the rows of your dataset as shown below in screenshoots.
User | Count |
---|---|
52 | |
27 | |
25 | |
24 | |
21 |