Concatenate Distinct String Values
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi everyone,
I have sets of data that can be categorized/grouped by a numeric ID. In my example I'm trying to work with I can tell what each category based on the mapped_names field for each ID. For example:
ID = 1
Mapped Name = Cat
Mapped Name = Dog
I'd call this example Cat + Dog
ID = 2
Mapped Name = Cat
Mapped Name = Dog
Mapped Name = Dog
I'd still call this example Cat + Dog
ID = 3
Mapped Name = Cat
Mapped Name = Cat
Mapped Name = Cat
I'd call this example Cat
I'm trying to filter my data by concatenating my mapped_name field and looking for certain combinations. The problem is when there are too many values I get an error telling me that the record is too big. I don't think the record would ever be too big if my values I were concatenating are distinct as I believe I only have 12 distinct values in my large dataset. I've attached an example. Is there a way to concatenate distinct values for an ID rather than every value that falls under the same ID?
My last question as you'll see from my example is why won't the mapped names appear all together? Each value still has its own separate line. Thanks in advance.
Solved! Go to Solution.
- Labels:
- Topic of Interest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Please attach the excel file separately or save the workflow as a package and upload the package. This excel pointing to your machine, it won't open in my machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Looks like I need to update my version of Alteryx first before I can open the packaged workflow. I've tried opening it and it doesn't like that I have the older version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Tyro_abc the screenshot you attached of the data output is exactly what I’m looking for. While I get my Alteryx version upgraded would you mind posting screenshots of the way you set up the summarization tools you used to produce the output?
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @anm252
Try this guide for downgrading packaged workflow.
If you are facing any issues let me know.
Hope this helps : )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
sure, total 3 steps.
Step1: Group By ID and Mapped Name ---> this will provide unique combinations of ID and Name
Step 2: Group By ID, Concatenate Name and use " +" as separator
Step 3: Add result of second aggregation tool back to original data using ID field
Please let me know if this works with your version.
Regards
Arundhuti
