Is there a three-year limit on showing a loss for a business?

And does Net Operating Loss apply if there is other income that is not business-related?