Start Free Trial

Alteryx Designer Desktop Discussions

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

How to create a group

Sshasnk
8 - Asteroid

Hi I have a dataset and I have to create a group based on the same quantity. Below is the sample

 

IdQuantityPrice
45123EX1000100
45123EX1000200
45123EX 300
45123EX2000150
45123EX2000250
45123EX 400
4274892950450
4274892950100
42748929 550

 

Condition: I have to create a group based on a similar Id and quantity. For example 451123EX and 1000 (quantity) makes a group so I have to assign a unique value to it.

 

Output:

 

dQuantityPriceRecod Id
45123EX10001001
45123EX10002001
45123EX 3001
45123EX20001502
45123EX20002502
45123EX 4002
42748929504503
42748929501003
42748929 5503

 

 

 

2 REPLIES 2
PhilipMannering
16 - Nebula
16 - Nebula

Hi @Sshasnk 

I think this gets what you need,

PhilipMannering_0-1607345135742.png

 

Qiu
21 - Polaris
21 - Polaris

@Sshasnk 
Something like this should help.

1207-Sshasnk.PNG

Labels
Top Solution Authors