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.

If Count > 1 then make one column for 1 count zero

wonka1234
10 - Fireball

Hi,

 

How can I do this? the left 4 columns are my data.  and the expected result is the right column.

 

If CountDistinct_Country > 1  then [Result] = 0  for 1 of the Countries.

 

Hopefully that makes sense.

 

CountryNameUtilizationCountDistinct_CountryExpected resut
USAlex0.832

0

USAlex020
USAlex020
USAlex0.8320
UKAlex020
UKAlex020
UKAlex0.832.83
UKAlex020
UKAlex020
UKAlex0.832.83
UKAlex020
CANLouis0.851.85
CANLouis010
CANLouis010
CANLouis010
CANLouis010

 

1 REPLY 1
Luke_C
17 - Castor
17 - Castor

Hi @wonka1234 

 

Help me understand the logic - why are rows 1 and 4 not .83? 

Labels
Top Solution Authors