How does TurboTax determine what income is included in "out-of-state income that is subject to tax in both states" (Ref. MI-1040, Line 18)?

I am Michigan full year resident; my wife is Colorado full year resident. I cannot determine what income TurboTax uses to calculate the out-of-state income that is subject to tax in both states for the Michigan tax credit.