Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dimension =PurgeChar((class(Ageing,5,'-')),'<=')
Sort - =num(trim(subfield((PurgeChar((class(Ageing,3,'-')),'<=')))))
Final result should be 0-5, 6-10, 11-15,......
Try this as your dimension:
Dual(PurgeChar(Class(Ageing, 5, '-'), '<='), Class(Ageing,5,'-'))
If you want to nearly match your expected ranges, you can try something like
=Dual(Floor(Ageing,5,1)&'-'&(Floor(Ageing,5,1)+4), Floor(Ageing,5,1))
![2016-07-21 20_14_18-QlikView x64 - [C__Users_Stefan_Downloads_comm225541.qvw_].png](/legacyfs/online/132107_2016-07-21 20_14_18-QlikView x64 - [C__Users_Stefan_Downloads_comm225541.qvw_].png)