Where to put correct NY Income from W2 which incorrectly calculates NY income

Is there a way to adjust NY income for partial year nonresident. W2 shows that all the income was earned in NY which is not true. I can not simply calculate days earned in NY because income consists of stock vests, wages, bonuses etc which are not paid proportionally to the entire year. 

 

I know exactly how much I earned in NY (partial year nonresident).