Can I make Turbo Tax properly calculate taxes for 2 states?

I live in NY but I worked in VA. example.: we made 100k. 80k was from VA employment  I filled out my Fed form and then the VA form.  When I do the NY form somehow, NY is not taking into account that 80K was made in VA and is trying to tax me for the whole 100K.  How can I get turbo tax make NY realize what is going on and tax me only on the NY income?