Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Lowest possible difference

Kingazawora
8 - Asteroid

I have a logical problem to be solved via Alteryx:

 

1.I have a few documents with value below 0, e.g.: -100,-200,-500

 

and I have positive value of 200

 

2.From negative values, I need to pick best possible number combination to cover that positive value.

 

Is there any mathematical way to do that in Alteryx?

1 REPLY 1
OllieClarke
16 - Nebula
16 - Nebula

Hi @Kingazawora 

There's a very similar question which was solved using the optimisation tool here: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/find-which-combination-equals-... and also here: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Finding-amounts-that-sum-to-ze... 

In those cases they're looking to sum to 0, but in your case you want to sum to 200 (although if you've only got negative values, then there's no way to sum these to a positive value)

Does that help?

 

Ollie

Labels
Top Solution Authors