Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

display G/L=0

Jocelynupup
7 - Meteor

Hi,

 

The below are my inputs, expected output and Alteryx workflow.

I am working on data validation between general ledger and detail transactions. My question is how to display the G/L part in result when net amt of a store is 0.

For example, the net amount of store 101 is 0, so there is nothing in the general ledger (impossible to book 0 in GL). When I do the join, these transactions netting 0 are in the right join. So, I need to add the GL part and use union tool to get the full list.

 

 

GL input:

YearPeriodCompanyCodeAmountGL_Date
20231110010014010/27/2023
20231110010013010/28/2023

 

transaction detail input:

IDStoreAmountTrans Date
1101(50.00)10/27/23
210150.0010/27/23
310220.0010/27/23
4102(10.00)10/27/23
510230.0010/27/23
610340.0010/28/23
6103(10.00)10/28/23
7104(30.00)10/28/23
710430.0010/28/23

 

output: 

YearPeriodCompanyCodeAmtGL_DateIDStoreAmountTrans Date
2023111001001010/27/231101(50.00)10/27/23
2023111001001010/27/23210150.0010/27/23
20231110010014010/27/23310220.0010/27/23
20231110010014010/27/234102(10.00)10/27/23
20231110010014010/27/23510230.0010/27/23
20231110010013010/28/23610340.0010/28/23
20231110010013010/28/236103(10.00)10/28/23
2023111001001010/28/237104(30.00)10/28/23
2023111001001010/28/23710430.0010/28/23

Alteryx workflow:

 
 

 

 

1 REPLY 1
CoG
14 - Magnetar

Here is a sample workflow that should meet you requirements:

Screenshot.png

Labels