Forum Discussion
thegusman
5 years agoHelper I
Creating 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
5 years agoSuper User
Hi,
Does this work?
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each Date.EndOfMonth(Date.AddMonths(DateTime.Date(DateTime.LocalNow()),-1)), type date)thegusman
5 years agoHelper I
Yes it does. Thank you!
- Ashish_Mathur5 years agoSuper User
You are welcome.