In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Unique Values

sneha_bhiwagade1
8 - Asteroid

Hi Team,

 

I hope you are doing well :)

 

I have a below table

 

CategoryCodesDept CodeRoll noPrevios monthAmountCode + Dept Code
STDABCDCA12 -183.14ABCD CA
STDABCDCA12 -183.13ABCD CA
STDPQRSHR13 183.14PQRS HR
STDPQRSHR14Dec-Jan-Feb'25185.13PQRS HR
STDWXYZCA13Dec-Jan-Feb'25-194648.44WXYZ CA
STDWXYZCA13Dec-Jan-Feb'25194648.44WXYZ CA

 

 

where i have concatenate a column based on field Codes and Dept code and called the new column as Codes + dept Code

 

Now for each unique values for column  Codes + Dept Code i have to test whether previous month column value is blank or zero and if it is blank or zero i have to check another Codes + Dept Code unique value. 

 

for other than blank or zero values in previous month column i have to check the maximum value in amount column and populate that records into output file.

 

Many Thanks in advance!!

3 REPLIES 3
binu_acs
21 - Polaris

@sneha_bhiwagade1 Can you provide the expected output?

sneha_bhiwagade1
8 - Asteroid

Hi,

 

@binu_acs  below is the expected output 

 

Category Codes Dept Code Roll no Previos month Amount Code + Dept Code

STD PQRS HR 14 Dec-Jan-Feb'25 185.13 PQRS HR

STD WXYZ CA 13 Dec-Jan-Feb'25 194648.44 WXYZ CA

 

 

Thanks 

binu_acs
21 - Polaris

@sneha_bhiwagade1 one way of doing this

binu_acs_0-1765209823009.png

 

Labels
Top Solution Authors