I have a line chart which uses dates as a dimension. I can use a variable to switch between displaying in day, month or year using the following code...
For clarity I realise the code above doesn't give a rolling week but I know how to do that. The issue is setting a period of two weeks rather than one.