Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a column Fiscal Mo/Yr and I wanted to sort it in ascending order.
Fiscal Mo/Yr
1-20151-20161-20171-20182-20152-20162-20172-20183-20153-20163-20173-20184-20154-20164-20174-2018
O/P should be like
1-20152-20153-20154-20155-2015
I am assuming you are talking about doing this in a chart where Fiscal Mo/Yr is a dimension? Try to replace your dimension like this
Date#([Fiscal Mo/Yr], 'M-YYYY')
and then sort numerically...
Alternatively, you can do this in the script
Date#([Fiscal Mo/Yr], 'M-YYYY') as [Fiscal Mo/Yr]
and then use [Fiscal Mo/Yr] as dimension and sort numerically.