Forum Discussion
Rolling 12M Date Order based on Selection
- 6 years ago
Hi Anonymous
Did you want to show the period as "MMM YY"? If so, you can create a custom column for thatMonth and Year = FORMAT ( Table[Date], "MMM YY" ) Month and Year Sort= FORMAT ( Table[Date], "YYYYMM" )The second formula above is for sorting the first formula. Once you have created these calculated columns, select Month and Year, go to Column Tools and Sort by Month and Year Sort.
Hi danextian,
Thanks for the quick reply. I have turned off concatenate labels and have the date hireachy detup with Year and month but still shows in the same format unfortunatley. I'll keep playing around with it.
Are there any other simpler formuls that would just simply show last 12 months absed on date/month selection?
Thanks
Hi Anonymous
Did you want to show the period as "MMM YY"? If so, you can create a custom column for that
Month and Year =
FORMAT ( Table[Date], "MMM YY" )
Month and Year Sort=
FORMAT ( Table[Date], "YYYYMM" )
The second formula above is for sorting the first formula. Once you have created these calculated columns, select Month and Year, go to Column Tools and Sort by Month and Year Sort.