Deductions & credits

My brokerage sent me a 1099-DIV that  tells me on line 7 the foreign tax paid and on line 8 that it was paid from various foreign countries. But where does it tell me how much or what percentage of my income was from foreign sources. How am I supposed to find that out so I can deduct the foreign taxes paid, or is that just a question Turbotax asks that does not actually need to be reported in order to take the deduction?