Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Compare multiple rows based on Group by fields and remove few rows and updated few rows

bhaushedbale
8 - Asteroid

Hi All,

 

We have multiple rows and based on row data compare need to change few rows data and few rows need to remove.

In the Attached workflow we have added Input and Required output format, please check and let us know if we are able to achieve same.

5 REPLIES 5
Qiu
20 - Arcturus
20 - Arcturus

@bhaushedbale 
You have to elborate more about the logic here.

Qiu
20 - Arcturus
20 - Arcturus

@bhaushedbale 
I have to assume this has something to do the date sequence.

1203-bhaushedbale.PNG

bhaushedbale
8 - Asteroid

Hi,

 

Thanks for the reply, I was not well and unable to reply.  Need a small change in workflow.

Input is as mentioned here

IDEIDE_NameRoleTE_IDTE_NameGE_IDGE_Nameeffective_datetermination_date
52829019085ABCLA29025173XYZ28000457LPPT9/22/20172/8/2019
52829019085ABCLA29000866PQS28000457LPPT2/8/20193/1/2019
52829007959DEFLA29000866PQS28000457LPPT3/1/20193/4/2019
52829007959ABCLA29000866PQS28000457LPPT3/4/20196/28/2019
52829007959DEFLA29000866PQS29025491ALM6/28/20197/28/2019
52829007959DEFLA29000866PQS29025491ALM7/28/201912/31/9999

 

The output should be as below.

IDEIDE_NameRoleTE_IDTE_NameGE_IDGE_Nameeffective_datetermination_date
52829019085ABCLA29025173XYZ28000457LPPT9/22/20173/1/2019
52829007959DEFLA29000866PQS28000457LPPT3/1/20193/4/2019
52829007959ABCLA29000866PQS28000457LPPT3/4/20196/28/2019
52829007959DEFLA29000866PQS29025491ALM6/28/201912/31/9999
Qiu
20 - Arcturus
20 - Arcturus

@bhaushedbale 
Sorry. I have to give up even I have spent much time on it.

Only with the input and output, I cannot figure out the logic here.

JesseMoyer
5 - Atom

Took a shot at it and attempted to guess the logic that was used to generate the output.  Assumed that unique groupings based on EID,E_Name, and GE_ID needed the earliest effective date and latest termination date.

Labels