I've beeb trying to write a date function for power query I've got as far as ;
Which works but I'm stuck at two things, one I thought I should be able to define the function as a table ;
but can't get it to work I've tried nestign let / in statements but not got it right.
Also I'd lke to add more columns, for year , month etc. but keep getting errors, I've tried ;
I've tried wrapping the whole thing in Table.AddColumn, but this didn't work and would be very impractical for adding lots of columns,
I've attached workbook showing errors and would like some help on how to write this.
Richard.
Bookmarks