Here is a technique from Exploring Splunk by David Carasso. I recommend downloading this since it has several good examples in it. This search shows how to compare last weeks results to this weeks results on the same chart, by labeling data from last week and this week, then adjusting _time so they line up for charting.
earliest=-2w@w latest=@w
| eval marker = if (_time < relative_time(now(), “-1w@w”),
“last week”, “this week”)
| eval _time = if (marker==”last week”,
_time + 7*24*60*60, _time)
| timechart avg(bytes) by marker
... View more