Forum Discussion
Data transformation challenge - Jira data source
- Anonymous2 years ago
In the end I added a custom column using the following
= Table.AddColumn(#"Renamed Columns35", "LastCommentDateModified", each let
a = Text.BeforeDelimiter([LastCommentDate], " "),
b = Date.FromText(a, [Format="yyyy-MM-dd"]),
c = Text.BetweenDelimiters([LastCommentDate], " ", " ", 0 ,1),
d = Text.End([LastCommentDate], 4),
e = try b otherwise Date.FromText(c&d, [Format="MMM ddyyyy"])
in e)
In the end I added a custom column using the following
= Table.AddColumn(#"Renamed Columns35", "LastCommentDateModified", each let
a = Text.BeforeDelimiter([LastCommentDate], " "),
b = Date.FromText(a, [Format="yyyy-MM-dd"]),
c = Text.BetweenDelimiters([LastCommentDate], " ", " ", 0 ,1),
d = Text.End([LastCommentDate], 4),
e = try b otherwise Date.FromText(c&d, [Format="MMM ddyyyy"])
in e)