Investors & landlords

capital gains and losses should not affect QBI.

here did you enter the capital loss?

if it was a loss on the disposition of business assets like equipment, that's an ordinary 1231 loss that figures into QBI. it flows to form 4797 and from there to schedule 1 line 4 and not to schedule D.