🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Data Manipulation

User: "ad2045"
New Altair Community Member
Updated by Jocelyn
I have the following data:

User ID Category Subcategory
02 A Sub1
02 B Sub2
03 C Syb7

I would like to group the data by User ID as follows:

ID
CategotyA (contains the number of subcategories)
CategoryB (contains the number of subcategories)
CategoryC( contains the number of subcategories)

example output

User IDCategoryACategoryB
022011
03555
04921

Could someone help by providing the process and parameter needed?

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "IngoRM"
    New Altair Community Member
    Accepted Answer
    Hi,
    you can also Turbo Prep to do this sort of transformation very easily.  After loading your data in Turbo Prep, simply switch to "Pivot" and drop the columns from the left into the right places.  "User ID" into "group-by" on the left, "Category" into the column headers at the top, and "Subcategory" into the aggregates at the bottom.  That's it :-)
    Hope this helps,
    Ingo