YTD Calculations with different time periods, within the same visual

Hi @jdorbish
Are you using periodOverPeriodLastValue? You could use that to pass MONTH as the period, and the offset as the difference between the months that you want to show.
There are examples in this article that you might be able to adapt to your purpose by changing the period and offset. If you’re saying that you’re choosing the month numbers on the fly, then you can use parameters in that calculation too.