Piecewise functions?

Hi, due to a temporary metrics change, the events in one of my graphs will be double-counted for the next few weeks. How can I set up piecewise function where, for that date range, everything will be divided by two?

Thanks.

Not sure any datasource query language supports that