In general, gambling losses can only be used as deductions to offset gambling winnings. If you report gambling income of $1000, but you had to buy $500 worth of lotto tickets to get that $1000, then...
Income less than expenses negative numbers below zero. Income more than expenses. Positive numbers above zero a net profit from the business operation.