ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Grouping Based on Total Purchases Under a Certain Amount

kcfuiks
Asteroide
Customer Purchase OrderAmountShippingTaxTotal
C001P1235.004.001.0010.00
C001P1265.004.001.0010.00
C001P1295.004.001.0010.00
C002P1245.004.001.0010.00
C002P1274.003.001.008.00
C002P1306.005.001.0012.00
C003P1255.004.001.0010.00
C003P1287.006.001.0014.00

 

I’m stuck on this issue and could use some assistance.

 

I have a list of customers, orders they have placed, and the amount of each order. I need to flag customers that have spent a total of 10 dollars or less on an order *only* if all the orders that customer has placed are 10 dollars or less. So in this case, customer C001 should be the only customer flagged.

4 RESPUESTAS 4
gabrielvilella
Magnetar

Hey @kcfuiks, you can do this by looking at the average and max value for the Total. If, for each customer, the average total and the max total are less or equals to 10, then flag.

gabrielvilella_0-1642558148387.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @kcfuiks 

 

Here is my take.

 

Workflow:

atcodedog05_0-1642572875092.png

 

Hope this helps : )

 

kcfuiks
Asteroide

@atcodedog05 Thank you!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @kcfuiks 

Cheers and have a nice day!

Etiquetas
Autores con mayor cantidad de soluciones