Re: How to break the complex expression into 2 part ?
Above, Aggr() and set expressions do not work in the load script, so it is not a simple conversion. And its not clear how you want to "split" the expression. You also need to explain the context of the expression - if its in a table/chart, what are the dimensions, and how are they sorted, etc.
Logic will get you from a to b. Imagination will take you everywhere. - A Einstein