Forum Discussion
Group values
- Anonymous10 years ago
Sorry Borntoreport,
I skipped your question about the conversion. To solve it you have to:
1) Split the column by number of characters ( Transform -> Split columns -> By number of characters) with:
- "4" as Number of character (to indicate the year)
- "Once, as far left as possible" as Split
2) Re-split the right column by number of characters with:
- 2 as number of character (to separate the month from the day)
- "Once, as far left as possible" as Split
3) After that you have three columns (year-month-day)
4) All you have to do is merge the columns (Add column -> Merge columns) with a custom separator/tab/space (as you want)
5) Finally you select the column and change the data type into date.
I remind to you that I'm not an expert, certainly there is a DAX formula to do it.
Hi Borntoreport,
I'm not an expert, but try with a calculated column like:
IF(AND(Data[Column1] >= 20151001;Data[Column1] <= 20160930); "Business Year 2015/16";IF(AND(Data[Column1] >= 20141001;Data[Column1] <= 20150930); "Business Year 2014/15") ........... )
you can expand the formula with all the year you want to analize.
Let me know if it works.