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

Multi Row Formula

ShantanuDagar
8 - Asteroid

Hello,

 

I had a data set for which I needed to create a 2 stage pivot table. The following is at where I am stuck right now:

 

I have a dummy data as follows:

 

Name                      Area                  Sum

A                             ABCD                  10

A                             AHBS                   20
A                             ASDS                   30

B                             ASKO                  40

C                             NJKS                  50

C                            ASPD                   23

 

Now, I want to remodel it like a multi level pivot table is in excel.

In the data above there are 3As, so 1st A should be visible, rest 2 cells must become empty. B will remain as it is. C also only the first one must remain, other one must become empty. (Could use multi row formula tool ig, but not able to do it correctly)

 

Also, I need 1 sum totals for group wise names. Like:

 

Other data remains as it is.

 

1 row additional for each name type. Sum will have total of all As. Area would remain empty.

3 REPLIES 3
CoG
14 - Magnetar

Here is a simple sample workflow that either does what you need or should be a good starting point for you:

Screenshot.png

rzdodson
12 - Quasar

@ShantanuDagar one approach using an iterative macro.

 

Solution.png

ShantanuDagar
8 - Asteroid

This is good. Thx.

 

 

Labels