Choosing a particular line using the Unique Tool
- 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 All,
I am working with a large data set that outputs ~25000 lines, due to how I had to Union the data each FACID has multiple lines and there is different data elements included on the same FACID but on different lines. For instance there may be six lines for a FACID and 3 will have MCR data, 3 will not, I only want one of the lines that has the MCR data but I cannot figure out how to ensure this is included using the Unique tool. To make it even more difficult not every FACID has the MCR data. I have the workflow figured out up to the point of finding the unique values that include all data elements. Sorry for the acronyms however this should be clearer in the sample data.
- Labels:
- Parse
- Tips and Tricks
- Transformation
- Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The unique tool will always take the first row for each unique ID. To make sure you get an MCR row, sort by that column so that the populated rows come before the nulls.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
hi @MattR79
Can you post the workflow that you have so far and we can see how to proceed from there?
Dan