State tax filing

Thanks a lot

In SC 1040 TC for taxes paid to other state,  my SC gross income is calculated after deducting dependent exemption, and is less than the W2 amount shown for NC in lune 2 of same form.

The question asks "Portion of line 1 taxed by another state". Since, the gross income is calculated including interest and dividends, and NC is taxing only W2 income as a non-resident and not interest and dividends,, how do I show my interest and dividend income to SC so that the resident state SC can tax those. 

.