Forum Discussion
Create a Table with All Possible Combos from a Single Column and Data for Each Combo
- 4 years ago
See attached for a solution with SuperGroups
This increases the complexity of the ask by at least an order of magnitude. What you are basically asking is
"given a list of items, find all unique combinations across all the items in the list"
My previous solution proposal assumed that you had four items in your list, but now this is becoming a dynamic size. It will take some time to refactor the code for this.
So now that I think about this again, I think what you originally provided solved "given a list of items, find all unique combinations across all the items in the list." The problem though is that I have a list of >20 items and it will continue to grow, so the size of the table is exploding. I only want to look at combinations of items with the SuperGroups to limit the number of combos to anywhere from 1-15 combos per SuperGroup.
- lbendlin4 years agoSuper User
See attached for a solution with SuperGroups
- Anonymous4 years agoNot applicable
Ingenius! I didn't know you could create functions within Power Query. This worked perfectly with my much larger dataset. Thank you so much!