There’s a Chinese proverb that says “A journey of a thousand miles begins with a single step” and that equally applies to coding complex formulas in Power FX
I was asked about a previous post Filter Based on Child Data, and whether it is possible to get the same outcome, but without using ForAll and therefore have all the code in a single Power FX statement
The answer is yes it can be done, but the single statement is quite complex and uses 6 Power FX functions, ClearCollect, Sort, Distinct, ShowColumns, AddColumns and Filter. To code a formula of this complexity in one go is hard, way too hard! A much better way is to build the formula step by step from the inside out