Forum Discussion
thegusman
Helper I
5 years agoCreating a custom column and changing the data type within the custom column formula
Hi All, I'm trying to learn how I can create a custom column, let's use =Date.EndOfMonth(Date.AddMonths(DateTime.Date(DateTime.LocalNow()),-1)) and within the same custom column formula ...
- 5 years ago
Hi,
Does this work?
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each Date.EndOfMonth(Date.AddMonths(DateTime.Date(DateTime.LocalNow()),-1)), type date)
Ashish_Mathur
Super User
5 years agoHi,
Does this work?
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each Date.EndOfMonth(Date.AddMonths(DateTime.Date(DateTime.LocalNow()),-1)), type date)thegusman
Helper I
5 years agoYes it does. Thank you!
- Ashish_Mathur5 years ago
Super User
You are welcome.