Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
am sure, it is pretty easy, but my mind is somehow blocked. Given a standard barchart with some dates as continuous x-axis:
Peter
To show every seven days, set your static step to 7.
To show only Monday dates, I'd have THOUGHT that setting your static min to min(MyDate)-weekday(min(MyDate)) in addition to the above would have worked, but it appears to do nothing. So I'm not sure how to do this.
I also can't think of a way to format with week numbers on a continuous axis, as a continuous axis means you're just dealing with numbers, and the week number simply isn't available as a formatting code.
To show every seven days, set your static step to 7.
To show only Monday dates, I'd have THOUGHT that setting your static min to min(MyDate)-weekday(min(MyDate)) in addition to the above would have worked, but it appears to do nothing. So I'm not sure how to do this.
I also can't think of a way to format with week numbers on a continuous axis, as a continuous axis means you're just dealing with numbers, and the week number simply isn't available as a formatting code.
Thanks John,
static step is clear, but I had tried to put the static 7 on the y-axis
The Minimum is a bit strange. Your solution also works - the x-axis starts at the calculated date, but the labelling does not start on the first value - there seem to be an internal logic overruling this.
Edit: As workaround for the Weeknumber one may use REPLACE(WEEKNAME(MyDate), '/', '.'), thus faking a numerical value, which then is displayed.
Peter