Alteryx Designer Desktop Discussions

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

Join Issue

malcorr
8 - Asteroid

Hello Everyone,

 

I have 2 sets of information: "Custom" and "Base". What I need is i need to join them and look for every "Row" that is listed in the "Custom" set and bring the corresponding value in the "Base" set, along with the corresponding accounts under each. See below

 

Custom

RowDescriptionCustom Dataspec
76750     A. FOREIGN DIVIDENDSINPUT
  8207065  1          STATE ADJ FOR SEC 965 INCOME                         W
  6044     -1         FOREIGN CORPORATIONS-OTHER                           E
  6045     -1         FOREIGN CORPS.-SUBPART F(CONTROL                     E
  8ID2406  1          FOREIGN DIVIDENDS (WATER'S EDGE)                     E
85218TOTAL INCOME UNDER 965(A)INPUT
  8207065  1          STATE ADJ FOR SEC 965 INCOME                         W
86160  ROYALTY  INCOMEINPUT

 

 

Base

RowDescriptionBase Dataspec
76750     FOREIGN DIVIDENDSINPUT
  6043090  -1         FOREIGN CORPS.-100% SEC 245B                         W
  6043090  -1         FOREIGN CORPS.-100% SEC 245B                         E
  6043190  -1         FOR CORPS - 100% SEC 245 SUB TO                      W
  6043190  -1         FOR CORPS - 100% SEC 245 SUB TO                      E
  6043RT1  -1         FRGN CORP-100% SEC 245B-REPORT T                     W
  6043RT1  -1         FRGN CORP-100% SEC 245B-REPORT T                     E
  6042050  -1         FOREIGN CORPORATIONS - 65%                           W
  6042050  -1         FOREIGN CORPORATIONS - 65%                           E
  6042150  -1         FOR CORPS - 65% SUB TO 832                           W
  6042150  -1         FOR CORPS - 65% SUB TO 832                           E
  6042RT2  -1         MORE THAN 20% OWNED CFC-REPORT T                     W
  6042RT2  -1         MORE THAN 20% OWNED CFC-REPORT T                     E
  6042051  -1         FOREIGN CORPORATIONS - 50%                           W
  6042051  -1         FOREIGN CORPORATIONS - 50%                           E
  6042151  -1         FOR CORPS - 50% - SUB TO 832                         W
  6042151  -1         FOR CORPS - 50% - SUB TO 832                         E
  6042RT1  -1         LESS THAN 20% OWNED CFC-REPORT T                     W
  6042RT1  -1         LESS THAN 20% OWNED CFC-REPORT T                     E
  6045     -1         FOREIGN CORPS.-SUBPART F(CONTROL                     W
  6044     -1         FOREIGN CORPORATIONS-OTHER                           W
  6044     -1         FOREIGN CORPORATIONS-OTHER                           E
85218 ADJ TO TCJA ADDITIONS TO FTIINPUT
  8207065  1          STATE ADJ FOR SEC 965 INCOME                         W
  8207025  1          SEC 163(J) C/F INT EXP STATE ADJ                     W
  8207068  1          ADJ TO TCJA ADDITIONS TO FTI                         W
86160     ROYALTY  INCOMEINPUT
  7304     1          ROYALTY INCOME                                       E
  7315172  -1         ROYALTY INCOME EXCL-E                                W

 

 

The end result I need is listing each row and show all the corresponding values under the "Custom Dataspec" and "Base Dataspec". The problem is that, as you can see, sometimes, the "Base Dataspec" contains more values than the "Custom Dataspec" and i Dont get the full list of each. The end result i need is:

 

RowDescriptionCustom DataspecBase Dataspec
76750     A. FOREIGN DIVIDENDSINPUTINPUT
  8207065  1          STATE ADJ FOR SEC 965 INCOME                         W6043090  -1         FOREIGN CORPS.-100% SEC 245B                         W
  6044     -1         FOREIGN CORPORATIONS-OTHER                           E6043090  -1         FOREIGN CORPS.-100% SEC 245B                         E
  6045     -1         FOREIGN CORPS.-SUBPART F(CONTROL                     E6043190  -1         FOR CORPS - 100% SEC 245 SUB TO                      W
  8ID2406  1          FOREIGN DIVIDENDS (WATER'S EDGE)                     E6043190  -1         FOR CORPS - 100% SEC 245 SUB TO                      E
   6043RT1  -1         FRGN CORP-100% SEC 245B-REPORT T                     W
   6043RT1  -1         FRGN CORP-100% SEC 245B-REPORT T                     E
   6042050  -1         FOREIGN CORPORATIONS - 65%                           W
   6042050  -1         FOREIGN CORPORATIONS - 65%                           E
   6042150  -1         FOR CORPS - 65% SUB TO 832                           W
   6042150  -1         FOR CORPS - 65% SUB TO 832                           E
   6042RT2  -1         MORE THAN 20% OWNED CFC-REPORT T                     W
   6042RT2  -1         MORE THAN 20% OWNED CFC-REPORT T                     E
   6042051  -1         FOREIGN CORPORATIONS - 50%                           W
   6042051  -1         FOREIGN CORPORATIONS - 50%                           E
   6042151  -1         FOR CORPS - 50% - SUB TO 832                         W
   6042151  -1         FOR CORPS - 50% - SUB TO 832                         E
   6042RT1  -1         LESS THAN 20% OWNED CFC-REPORT T                     W
   6042RT1  -1         LESS THAN 20% OWNED CFC-REPORT T                     E
   6045     -1         FOREIGN CORPS.-SUBPART F(CONTROL                     W
   6044     -1         FOREIGN CORPORATIONS-OTHER                           W
   6044     -1         FOREIGN CORPORATIONS-OTHER                           E
85218TOTAL INCOME UNDER 965(A)INPUTINPUT
  8207065  1          STATE ADJ FOR SEC 965 INCOME                         W8207065  1          STATE ADJ FOR SEC 965 INCOME                         W
   8207025  1          SEC 163(J) C/F INT EXP STATE ADJ                     W
   8207068  1          ADJ TO TCJA ADDITIONS TO FTI                         W
86160  ROYALTY  INCOMEINPUTINPUT
   7304     1          ROYALTY INCOME                                       E
   7315172  -1         ROYALTY INCOME EXCL-E                                W

 

 

Please note that these are part of a larger list 

 

Any ideas?

 

16 REPLIES 16
john_miller9
11 - Bolide

@malcorr 

 

Here's one solution that leverages the multi-row formula and the tile tools.  Some extra steps at the end to remove the duplicate [Row] field, but if that isn't required it's a much shorter workflow.  Let me know if this helps.

 

jm

 

john_miller9_0-1595446756467.png

 

Hi @malcorr 

 

I built a batch macro to perform this operation. It could be streamlined further. Hope it helps

christine_assaad_0-1595448762113.png

 

malcorr
8 - Asteroid

Hello, 

 

Thanks for your reply, I'm not able to open the second file since it says I dont have the latest version. 

 

I can open the first one, but given the fact that the inputs are saved in your desktop i cannot run it. Could you please send them seprately? 

 

 

Thanks!

john_miller9
11 - Bolide

@malcorr- I've added the excel data input file now.  See if you can access

malcorr
8 - Asteroid

Thank You,

 

Te excel Worksheet you added is the first input in your workflow? In that case, what do i do with the second function, the Dynamic Input??

 

thanks!

malcorr
8 - Asteroid

Thanks!

 

How do you configure the Macro??

john_miller9
11 - Bolide

@malcorr 

 

The configuration for the dynamic input is below.  In the Input Data Source Template field, you'll want to point to the excel file and choose one of the sheets.  Also be sure to select "Full Path" in the Output File Name as Field section of the Options. 

 

john_miller9_0-1595460659364.png

 

 

Then you would copy one of the values into the Filter tool so that the workflow splits into the 2 datasources that you're trying to join.

 

john_miller9_0-1595461009272.png

 

 

malcorr
8 - Asteroid

I tried and configured exactly as indicated, but seems im not getting the same result as you 

 

 

malcorr_0-1595465931776.png

 

malcorr
8 - Asteroid

Seems like the filter is not working properly. I have this configuration. On the "False" Side of the filter, Im getting the "Base" numbers, but I'm not getting anything on the "True" Side of the filter

 

malcorr_0-1595466145988.png

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels