Alteryx Designer Desktop Discussions

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

Using Cross Tab for 2 Levels of Grouping

eschm0309
5 - Atom

Hi, 

 

I am trying to create a grouping for two levels of grouping for a set of data. I tried to utilize the cross tab node to perform this but I was only able to group at one level at a time. 

Data Input:

GroupSub-GroupAccountValue
A11005
A210010
A210015
B110010

 

Desired Data Output:

 AAABB
 12Total1Total
100525301010

 

Any help would be greatly appreciated!

3 REPLIES 3
paulfound
11 - Bolide

Hi @eschm0309 

PaulFound_0-1598422658855.png

PaulFound_1-1598422686786.png

This is my idea for the solution.

 

Hope it works let me know.

eschm0309
5 - Atom

Hey Paul, 

 

I really appreciate that and it seems like it definitely solves the issue I was having, but I have one followup. This may not be possible, but would it be possible to have the two levels like A for the first column being "A" and then the next row below being "1", not being "A_1" in the header. Its not a big deal if its not possible, but wanted to ask.

paulfound
11 - Bolide

Not in a table that I'm aware off. But in a report you can. So the output would have those levels.

Labels