Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

How to fill out template file from multiple tables

overhead_press
8 - Asteroid

Below I have a template table I am trying to fill out with the second table, my sample dataset which contains 80+ unique values for the Class field. I am wondering how could I achieve my desired output where the values under the field "Class" in my second table is grouped and shown as columns, and display the corresponding Amount for each Desc. Thanks in advance!

 

Template

Template1
a
b
c
d
e

 

Sample dataset:

ClassDescAmount
Applea1
Applec2
Appled3
Kiwib4
Kiwid5
Pineapplea6
Pineappleb7
Pineapplec8
Pineappled9

 

Desired output:

Template1AppleKiwiPineapples
a1 6
b 47
c2 8
d359
e   
3 REPLIES 3
binuacs
20 - Arcturus

@overhead_press one way of doing this

binuacs_0-1656544062703.png

 

Qiu
20 - Arcturus
20 - Arcturus

@overhead_press 
We can a join first then form the data by Cross tab, and Union with the left join.

0630-overhead_press.PNG

grazitti_sapna
17 - Castor

@overhead_press, here is an another way of solving this problem.

 

grazitti_sapna_0-1656568853563.png

 

Thanks!

 

Sapna Gupta
Labels