dishwasher won't fill with water

When starting a normal washing cycle not enough water is going into the dishwasher. Sounds like the water is going into the washer but not into the area where the dishes are because if you cancel the washing cycle water is draining.