We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Multi-Row Formula Help

KmbrlyPC
8 - Asteroid

I am needing to combine data from 2 rows into 1. Where the Class #, Subject, and Assignment Description is the same, I need it in 1 row with the Status and Count combined. For example, Class #1 for Math for Addition & Subtraction I want to see the Status of Completed - 12, Pending-18 together instead of separated on a different line.

 

Capture.JPG

6 REPLIES 6
Kenda
16 - Nebula
16 - Nebula

Hello @KmbrlyPC 

 

I would actually use a normal formula with a summarize tool here. 

 

First create a combined status and count field with a normal formula tool with this expression:

[Status] + " - " + ToString([Count])

 

From here, you can use a summarize tool to group by Class #, Subject, and Assignment Description then concatenate your newly created combined field.

 

Kenda_0-1622210469715.png

 

 

Hope this helps!

 

atcodedog05
22 - Nova
22 - Nova

Hi @KmbrlyPC 

 

Here is how you can do it.

atcodedog05_0-1622210465437.png

1. Using formula add status & count.

2. Using summarize tool groupby Class, Subject, Assigned group and concat status w/Count

 

Hope this helps 🙂

 

mceleavey
17 - Castor
17 - Castor

Hi @KmbrlyPC ,

 

A simple bit of crosstab magic did the trick:

 

mceleavey_0-1622210489664.png

 

mceleavey_1-1622210510945.png

 

Hope this helps,

 

M.

 

 



Bulien

dougperez
12 - Quasar

I used summarize and formula to do the desired output.

mceleavey
17 - Castor
17 - Castor

I love how many different ways there are to do everything in Alteryx 🙂



Bulien

KmbrlyPC
8 - Asteroid

Thank you!!

Labels
Top Solution Authors