Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I am using a formula to add a term to the end of a policy year to split into terms if a policy year has more than one term through this formula:
aggr(If(Count(Total <PolicyYR> DISTINCT Term) > 1, PolicyYR & ' ' & Term, PolicyYR), PolicyYR, Term)
The resulting set looks like this:
The expressions used in conjunction with this work perfectly, but I can't get them to sort. When I text sort, they end up like this:
And when I numeric sort, I get this:
It seems like maybe I am getting some mixed formatting in the resulting set that is causing these strange sorting issues, but I don't know how to fix it.
Any suggestions would be much appreciated!
Aaron,
It works for me if sort by expression PolicyYr and by text.
I believe you cannot sort by expression if it's a calculated dimension. But you can create the actual dimension in the script using the same rule.
The easiest answers always elude me...
Thank you for your help Michael!