Yes, set your View to V#Periodic and it'll be dynamic based on your time selection. So if you select T#2022M6 in one column and T#2022 in another, it'll show the MTD value where you've selected a month and the YTD value where you've selected the year.
One thing to keep in mind is for actuals this won't work if you're loading YTD numbers because the future month ahead of the one you've currently loaded will always calc to be the full reversal of your current period's YTD value (because there's nothing loaded for the YTD of next period so OS calculates next month's value to be the difference between 0 and last month's YTD value). It really only works for forecasting periods or years that are completed in the past.
Hope that helps but let me know if you have any questions.