I am a resident of WI but worked in MN. I need to fill out Schedule OS. The info was not automatically filled in for Calculation of Credit. How do I get these figures?

I am stuck on Calculation of Credit.  How do I get these figures as the other two states were filled in automatically and the answer is not my total gross income.