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

Union and summarize two tables

LuneLune
6 - Meteoroid

Hello,

 

I have two tables.

 

Table 1. Green Accounts:

LuneLune_1-1612386618083.png

 

 

Table 2. Red Accounts:

LuneLune_2-1612386618101.png

 

 

I would like to union them and get the Total summary per table, as shown in the following output:

LuneLune_3-1612386618118.png

 

 

I have attached original source files and expected result. Thank you in advance for your support


Best,

LuneLune

3 REPLIES 3
echuong1
Alteryx Alumni (Retired)

You would create each table individually, and then combine the report objects.

 

For example, I started by adding a total row using a Crew Macro. I then created the formatted tables with the table tool. I included a row rule to make the total line orange. I used a report text to add the account total section with appropriate colors. A union combined the two objects, and a render created the output file, a temporary excel file in this case.

 

You can adjust the field names and formatting, but hope this gets you started!

 

echuong1_0-1612388761498.png

echuong1_1-1612388777634.png

 

LuneLune
6 - Meteoroid

@echuong1 

 

Hi echuong1,

 

Thanks for your help,

Can you just share a regular workflow file instead of the packaged one?

echuong1
Alteryx Alumni (Retired)

See attached. You will need to reconnect your input files.

Labels
Top Solution Authors