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

Sum with different conditions

Lean_Sawko
7 - Meteor

Hi everyone,

 

I want your help for this silly question, I want to find the best logic to follow up here. So, as you can see I want to sum([VALUE]) for each [COUNTRY] and to give me the below mockup. 

Screen Shot 2021-06-30 at 3.46.20 PM.png

I could do a formula but there are many countries and cities so, I just can't make a manual formula e.g WHEN [COUNTRY] = "ARGENTINA"...

what do you recommend to create a simple output summarizing by country?

Thanks 

1 REPLY 1
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @Lean_Sawko,

 

You can use a summarise tool for this, simply group by your country field and sum the value field.

 

JonathanSherman_0-1625080563111.png

 

 

I've attached my workflow for you to download if needed!

 

Kind regards,

Jonathan

Labels