The Inspire Pin contest has begun! Win a free pass to Inspire by submitting your design to be made into a real-life pin! Submission details can be found here.
What is the most efficient way to generate columns based on the values listed on another column? (see below)
Solved! Go to Solution.
Hi @dan_b
I would recommend using the Cross Tab tool. You will want to first create a group field, though, so that all of your values don't get concatenated into each new field.
Use a Multi-Row Formula tool to create a new numeric field with this expression:
iif([Name]="id",[Row-1:Group]+1,[Row-1:Group])
Then simply add a Cross Tab tool. Group by your newly created field. Choose Name for the column headers and Value for the Values for new columns. Then select whichever method for aggregating values you'd like.
Hope this helps!
