Net Operating Loss for sole proprietor - do capital gains erase it?
In 2022, my sole proprietorship (Schedule C) had a net loss for the first time. However, my AGI and taxable income for the year were positive, owing to interest, dividends, and capital gains unrelated to the sole proprietorship. The sole proprietorship had net profits in 2023. Can I carry forward the 2022 sole proprietorship's loss as a Net Operating Loss or did the unrelated capital gains in 2022 mean I had no Net Operating Loss? That is, is Net Operating Loss based solely on the sole proprietorship or all of my income sources for 2022, including the unrelated interest, dividends, and capital gains?