State tax filing

Thank you. So if the net income does not meet the threshold for filing in that state, but the gross income does, I should file? Also, I guess I would need to allocate all of the overhead on a state by state basis, correct?