Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

generate numbers for rows based on condition

xariet
8 - Asteroid

Hi All

I am currently working with a table that contains transaction names. Within this table, there are 16 occurrences of each transaction type. I have a specific requirement where I need to create a new column and assign the value "assets" to the first 8 occurrences of each transaction type, and the value "liability" to the remaining 8 occurrences. I was thinking if I can use the tile tool and assign numbers from 1 to 16 to each transaction type and then use the formula tool to assign values based on conditions from 1 to 8 and from 9 to 16. But I am struggling to configure the tile tool to achieve this result. Any ideas maybe to use another approach?

thank you 

1 REPLY 1
Qiu
21 - Polaris
21 - Polaris

@xariet 
Maybe you missed the "Group by Columns" option? 😁

0515-xariet-A.PNG0515-xariet-B.PNG

Labels
Top Solution Authors