State tax filing

What if you have base salary and commissions. Assume base by day then commissions based only on commisions from va companies?   My company calculated a number and seems to be based on all earnings all companies by day on a W2