Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Fill up/down issues due to inconsistent patterns

npatrick
5 - Atom

Hi Everyone!

 

After parsing data from a PDF, I have columns that need to be filled up or down to align everything on one row. I used a combination of tools (transpose, cross tab, multi-row formula) to try and accomplish this but I'm running into issues because one of the user's values does not follow the same pattern as the others (see below tables). Because of this, the approval limit for the non-standard format user, Jane Doe in this example, is blank and the value is concatenated with the prior user's approval limit after aggregating with the cross-tab tool. I’m not sure where I’m going wrong and would appreciate any feedback. Please see attached workflow example for more details.

 

Standard Format

 
User IDEmailName Payment Type AccessApproval Limit
[Null]john.doe@gmail.comJohn Doe[Null][Null]
[Null]BlankBlankYes$1
0145BlankBlank[Null][Null]

 

Non-Standard Format

 

User IDEmailName Payment Type AccessApproval Limit
[Null]BlankBlank[Null][Null]
[Null]jane.doe@gmail.comJane DoeYes$1
0143BlankBlank[Null][Null]

 

 

npatrick_0-1723056452264.png

 

 

 

 

 

 

 

 

 

 

 

 

1 REPLY 1
MeganBowers
Alteryx Community Team
Alteryx Community Team

@npatrick  Your logic of transposing and then cross-tabbing makes sense, you just need to have a column identifying which records belong to which group (i.e. which person).

 

Does this solution attached work on the larger dataset? It assumes every group of records is separated by an all-null row like in your example. If the pattern of the all-null row is not in your dataset then you can use a multi-row formula to increase the Record field when a name is present.

 

Screenshot 2024-08-08 at 4.27.33 PM.png

Screenshot 2024-08-08 at 4.28.44 PM.png

Labels
Top Solution Authors