Forum Discussion
Sannat
Helper I
3 years agoErrors in custom column
Hi super users, can you help a novice with this query please? I've created a custom column to show when our next training refresher is due. This is using the last booking date and adding the ref...
- 3 years ago
Hello - here is how you can do this.
SCRIPT
Table.AddColumn(#"Replaced Value2", "Next refresher due", each if [Booking status] = "TB" then "TB" else Date.AddYears ( Date.From ( [Booking status] ), [Refresher cycle in years] ), type text )RESULT
jennratten
Super User
3 years agoHello - here is how you can do this.
SCRIPT
Table.AddColumn(#"Replaced Value2", "Next refresher due", each if [Booking status] = "TB" then "TB" else Date.AddYears ( Date.From ( [Booking status] ), [Refresher cycle in years] ), type text )
RESULT
Sannat
Helper I
3 years agoThanks for the swift reply, I'm just trying it out now.