Forum Discussion
Anonymous
2 years agoNot applicable
Display month names between two dates.
I have multiple projects whose start dates and end dates are given. I have created a column which specify how many months each project runs for. Now I want to display all the monthnames the project ...
- 2 years ago
Hi, Anonymous
add a new column then expand into new rows
= Table.AddColumn(
Your_Source,
"Month_List",
each List.Distinct(
List.Transform(
{Number.From([Start_Date])..Number.From([End_Date])},
each Date.ToText(Date.From(_),"MMM-yy"))))Stéphane
slorin
2 years agoSuper User
Hi, Anonymous
add a new column then expand into new rows
= Table.AddColumn(
Your_Source,
"Month_List",
each List.Distinct(
List.Transform(
{Number.From([Start_Date])..Number.From([End_Date])},
each Date.ToText(Date.From(_),"MMM-yy"))))
Stéphane