Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
GELÖST

If Statement, Count, and Group By

ashleyinman
Asteroid

This is the data set I have

OrderStatusType
1 Ship
1ClosedReturn
1ClosedShip 3PL
1ClosedReturn 3pl
2ClosedShip
2ClosedReturn
2ClosedShip 3PL
2ClosedReturn 3pl
3ClosedShip
3ClosedReturn
4 Ship
4ClosedReturn

 

I would like to be able to add a new column that would count the orders that have all Status "Closed" for the order.

So Order 2 and 3 are the only ones that would be counted.

Order 1 and 4 would not count because there are statuses with nothing.

5 ANTWORTEN 5
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @ashleyinman,

 

Not sure exactly what you want the output to look like for the example?

 

Kind regards,

Jonathan

Emmanuel_G
Pulsar

Hi @ashleyinman ,

 

Here's an attached solution which keep only orders without occurrences of null status.

 

Let me know if it works as you want.

 

Cheers !

Emmanuel_G_0-1657555845109.png

 

DataNath
Castor

Here's one way if you want to keep all records but only show a count of 100% closed orders:

 

DataNath_0-1657555983991.png

 

Another option with reduced tools (v2):

 

DataNath_0-1657556797898.png

Amol_Telore
Bolide

Hey @ashleyinman 

 

Here is my solutions. If i am not wrong, you need 1 and 4 as well in the output without count. Is it correct?

 

Amol_Telore_0-1657555997381.png

 

binuacs
Polaris

@ashleyinman one way of dong this

 

binuacs_0-1657556119143.png

 

Umfrage
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Beschriftungen