Skip to main content

I have a sql table with a date field.

it shows Lab Code (MINA / Intertek), sample ID, Lab_report_date

I want to show this data as a table or export such as:

Capture 

The week is not calculated as a standard 'week', but from Wed - tuesday.

I've been playing around with DateTimeCalculator & Attribute Pivoter without much luck.

Is this even possible?

 

thanks

@tdunlevie​ can you use DateTimeConverter convert the date to a day of the week (%u) - you'll need the year in the date - and then use a lookup (AttributeValueMapper) to move the Monday based (1-7) to a Wednesday based (1-7) and go from there?


Reply