Create a new column for YEARS
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi
I am trying to create a new column for some data which has a number of months/years in it's own column and I want to create a new column to represent the financial years for this data. eg:
YEAR_MONTH
201912
201810
201810
202002
201904
201908
201806
202002
201907
201811
201805
201912
201906
I want an extra column showing :
YEAR
2018/19
2019/20 etc
the Year Month column is currently 'Int32' if this helps
thanks
Solved! Go to Solution.
- Labels:
- Datasets
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Disey one way of doing this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you but I need the financial year ie: 2018/19, 2019/20, 2020/21 etc, this example works when i try it but it has the month after the / which is also in your example and I need the year .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Disey here you go
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Perfect, it worked,thank you 😃 I would never have fathomed that out myself 🤷
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
thank you, this is perfect for financial years
