In general, the pension deduction applies to the amount you received while in each state. If you received periodic (monthly) payments, you can divide by the number of days you were a state resident by 365.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"