Hello,
MTY = Month designation (MTY 300 = Dec 2019)
I am trying to get a store's total sales for 'this year' and 'last year' based on a specific MTY, then want to compare against the stores in the territory for the same time range.
I have individual store sales by month (MTY) and territory in one tool, and the specific MTY and territory I want to compare with in another tool.
This is my first post, let me know if you need more info.
Expected output for territory 101:

(edit: output to single line)