SOLVED
Singular Row into a Column
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
missteran
7 - Meteor
‎12-27-2024
11:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have somewhat of an odd question but trying to see if alteryx can do this. I have a data set with rows of deal names, followed by the type of deals these are considered. I would like to make that singular row that captures types of deals into a column instead. Please see what i mean below before and after.
Before:
Book | Deal Name | Manager | Exposure | Utilization |
ABCD | Melissa Deal | Stuart | $100 | $50 |
EFGH | Stephanie Deal | Owl | $100 | $75 |
EFGH | John Deal | Gold | $100 | $75 |
Type of Deal: Secured Loan | $300 | $200 | ||
YZKW | Erica Deal | Ares | $200 | $150 |
POFD | Kaitlyn Deal | Oak | $150 | $75 |
POFD | Joshua Deal | Apollo | $150 | $75 |
HWQK | Frank Deal | Silver | $200 | $100 |
Type of Deal: Collateral Loan Obligation | $700 | $400 |
After - the Deal type is now a column and no longer a singular row
Book | Deal Name | Manager | Deal type | Exposure | Utilization |
ABCD | Melissa Deal | Stuart | Secured Loan | $100 | $50 |
EFGH | Stephanie Deal | Owl | Secured Loan | $100 | $75 |
EFGH | John Deal | Gold | Secured Loan | $100 | $75 |
YZKW | Erica Deal | Ares | Collateral Loan Obligation | $200 | $150 |
POFD | Kaitlyn Deal | Oak | Collateral Loan Obligation | $150 | $75 |
POFD | Joshua Deal | Apollo | Collateral Loan Obligation | $150 | $75 |
HWQK | Frank Deal | Silver | Collateral Loan Obligation | $200 | $100 |
Solved! Go to Solution.
Labels:
- Labels:
- Common Use Cases
- Datasets
- Transformation
3 REPLIES 3
nagakavyasri
12 - Quasar
‎12-27-2024
02:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Suresh_batchu
8 - Asteroid
‎12-27-2024
08:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
flying008
15 - Aurora
‎12-27-2024
11:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, @missteran
Another way for you:
IIF(IsEmpty([Row-1:Book]) && IsEmpty([Row-1:Manager]), [Row-1:ID] + 1, [Row-1:ID])
REGEX_Replace([Deal type], '^.*:\s*', '')
or
Trim(Substring([Deal type],FindString([Deal type], ':') + 1))
