Investors & landlords

Crap, so if I I made gains on ETFs or other securities through a brokerage that are partnerships and issue K-1s and lost on others that don't those gains will not be offset? So even though I broke even essentially for the year for my brokerage gains/losses I still might have to pay capital gains on the K-1 securities if I gained on them?