I lived in NY until August last year and moved to MD. On my MD return, I could tell them how much income was earned in NY, but the NY state return is taxing everything.