Forum Discussion
Anonymous
4 years agoNot applicable
Endofmonth based on month/year column
Hi all, Can anyone help me tell me what the best way is to add a column with end-of-month based on a yyymm-column. I would like to add a date-column for using datefilters. What is the most ...
- 4 years ago
1. Use below formula in Power Query, replace Date with your column name
= Date.EndOfMonth(Date.FromText(Text.From([Date])&"01"))2. If you are planning to use DAX
= EOMONTH(DATE(LEFT([Date],4),RIGHT([Date],2),1),0)
Vijay_A_Verma
Most Valuable Professional
4 years ago1. Use below formula in Power Query, replace Date with your column name
= Date.EndOfMonth(Date.FromText(Text.From([Date])&"01"))2. If you are planning to use DAX
= EOMONTH(DATE(LEFT([Date],4),RIGHT([Date],2),1),0)Anonymous
4 years agoNot applicable
Thanks! Exactly what I need.