We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Identify Contra entries with combination of Customer code, Customer GSTN and Invoice No

Khanzali007
8 - Asteroid

Hi Friends,

 

I'm working on an Alteryx workflow and currently need some guidance.

I am trying to remove contra entries from a dataset in Alteryx. Where one amount is a positive entry (a debit) and the other amount which offsets it is a negative (a credit). Is there a quick way to identify these entries & comment as "CONTRA" ? 

 

For Example: 

 

In below data set, there are 3 entries with same Customer code, customer GSTIN & Invoice No.

In which 2 set are records were Booked and reversed, and third entries is final entry. Output is highlighted in Red.

 

Customer codeCustomer GSTNInv No Taxable  Contra 
4026977927AADCD0086F1ZWSI2021-124           65,000Contra
4026977927AADCD0086F1ZWSI2021-124         (65,000)Contra
4026977927AADCD0086F1ZWSI2021-124           65,000 

 

For your ref i have attached a excel file with sample data & his output.

 

Thank you

10 REPLIES 10
vizAlter
12 - Quasar

Hi @Khanzali007 — Did you also check the solution(s) by rest of the users? any thoughts?

Labels
Top Solution Authors