Use last month's name in a title

One can use ${__to:date:MMM} to show the month from the selected time frame. But what if I also want to show data from the previous month? I can put 1M/M in the time shift of a panel but there appears to be no way to reference the name of the month in the title.