Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

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])'

 

Labels
Top Solution Authors