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.

Merge rows with same records

Pooja_Khanna
5 - Atom

I have following table as a dataset. I am looking forward to merge cells with same records for all the columns

CountryProvinceCity
CANONToronto
CANONToronto
CANONMississauga
CANABEdmonton
CANABCalgary
CANNSHalifax
CANNSHalifax
 NSLunenburg
USCASF
USCASF
USTXAustin
USTXAustin
USTXDallas
USTXDallas

 

Desired output is: I am not able to paste the desired output. But I am looking to merge cells in a way that every country, province and city appears only once. 

 

Sample input and output is attached with this.

 
 

 

 

4 REPLIES 4
Luke_C
17 - Castor
17 - Castor

Hi @Pooja_Khanna 

 

Alteryx isn't going to be able to merge cells like this. You could use multi-row formulas to mimic this but I'm not sure if that's valuable for you:

 

 

image.png

Pooja_Khanna
5 - Atom

I tried multi-row formula but that's not helping as my purpose is to avoid users to sort data and mess-up with rows. That's why merging is needed.

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Alteryx is powerful when used to cleanse data from a dirty data (like a table with merged cells) to a clean data (like a table in normalized form),

but not so powerful to make a clean data back to a dirty data.

 

For your use case, maybe you would be better to use Data Visualization tools, like Tableau, Power BI etc.

 

(Though this is not Tableau community, just for example)

with Tableau, you can make this table with a few clicks, keeping the original data clean.

image.png

jirikrecek
8 - Asteroid

You don't need Alteryx for this at all! What you have shown in your second screenshot is a very simple Excel Pivot table in Tabular formatting. That is literally all you need. No Alteryx required.

Labels
Top Solution Authors