Alteryx Designer Desktop Discussions

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

Collapsing state/provincial data into country-based data for certain countries

doogra
5 - Atom

Hi,

 

I’m trying to import the attached file (time-series ) and collapse the rows for countries that have more than one country entry (Canada, Australia, China, etc. have data broken out into states/provinces, I want just one entry for the country). However, I haven't been able to do it successfully yet. I've attached my current workflow. Any hints? Thanks!

2 REPLIES 2
danilang
19 - Altair
19 - Altair

Hi @doogra 

 

From what I could see from the image of your workflow, you made a good start.  

 

w.png

After the transpose, group by country and date and then cross tab using Country as the key and Date as the headers.  The dynamic rename at the end tidies the headers.

 

r.png

 

Dan

 

doogra
5 - Atom

Thank you so much! That's really helpful.

Labels