Hello!
Spouse and I have been filing jointly in the US. Last year one of us had a capital loss, let's say 10K and this year, the other person had a capital gain, let's again say 10K.
Capital losses carry forward. So, the 10K loss from the prior year offsets the 10K gain from the current year...