I have a horizontal bar graph representing the number of errors per week for the current and previous week. The legend displayed on the Y-axis next to each bar shows the week number. I would like it instead to show 'This Week' and 'Last Week'.
You could try it with a dual-expression within the dimension like:
dual(if(week = $(=max(week)), 'This week', 'last week'), week)
That worked like a charm! Thanks Marcus!
Retrieving data ...