Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have created the following chart using the class function:
The calculated dimension and expression for the table are as follows;
How can the table be sorted properly starting with lower age intervals:
0 - 5
5 - 10
10 - 15 etc
regards.
Chris
Use this expression as calculated dimension
=Dual(Replace(Aggr(Class(Count(Distinct PortfolioAge),5), MCAZApplicant), '<= x <', ' -'),Aggr(Class(Count(Distinct PortfolioAge),5), MCAZApplicant))
Go to sort tab and sort by numeric Value.
Use this expression as calculated dimension
=Dual(Replace(Aggr(Class(Count(Distinct PortfolioAge),5), MCAZApplicant), '<= x <', ' -'),Aggr(Class(Count(Distinct PortfolioAge),5), MCAZApplicant))
Go to sort tab and sort by numeric Value.
Can you try using Dual() function:
=Dual(Replace(Aggr(Class(Count(DISTINCT PortfolioAge), 5), MCAZApplicant), '<= x <', ' - '), Aggr(Class(Count(DISTINCT PortfolioAge), 5), MCAZApplicant))
and then sort your dimension numeric ascending.
Many thanks Manish
Thank you Sunny