Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to alternate records from two datasets by EEID in Alteryx

Navyasree123
8 - Asteroid

Hello All, Hope you all doing great,

could you please help me out this query please

I have two datasets, one with E records and one with D records. Both have the same EEID field, and some EEIDs appear multiple times in each dataset. I want to combine them so that for each EEID, the records appear in an alternating order — E, D, E, D — without mixing EEIDs. and also I have attached the file and workflow that i have worked.

Thanks in advance!

 

6 REPLIES 6
Qiu
21 - Polaris
21 - Polaris

@Navyasree123 
I dont see "EEID", you mean "PPN"?
It is better you can provide a sample output. 😁

Navyasree123
8 - Asteroid

Hey @21 - Polaris ,

Thanks for the Reply,I have attached the sample output below could you please check.

Gaurav_Dhama_
12 - Quasar

In your original workflow, add another layer of sort on new > ascending.

Gaurav_Dhama__0-1754891191475.png

Result:

 

Gaurav_Dhama__1-1754891212098.png

 

Navyasree123
8 - Asteroid

@Gaurav_Dhama_,

It seems to be working only for the first few records.I have also tried the approach in the way you suggested,but I'm still facing the same issue.Thank you!

 

Gaurav_Dhama_
12 - Quasar

Check out the attached workflow, I have used tile instead of record id to group the items together.

Navyasree123
8 - Asteroid

Thanks a lot for your help,It is working perfectly now.

Labels
Top Solution Authors