General Discussions

Discuss any topics that are not product-specific here.
SOLVED

Generate Combinations

Musa_Musa
6 - Meteoroid

Good day

 

I need help creating a formula in Alteryx that generates all possible combinations of numbers that add up to 85 using a list of numbers from 1 to 30. "Something like this (A+B+C=85)"

4 REPLIES 4
MilindG
12 - Quasar

@Musa_Musa Not sure about the formula but depends on the situation, heres one way you can do it.

Musa_Musa
6 - Meteoroid

Thank you very much this is helpful!!

Musa_Musa
6 - Meteoroid

Something I forgot to mention, can each column have unique numbers that amounts to 85. 

MilindG
12 - Quasar

@Musa_Musa You can add below filter and see if that gives you the result you're looking for.

'([No 1] != [No 2]) and ([No 2] != [No 3]) and ([No 1] != [No 3])'

 

Polls
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!
Labels