Foggy glasses, water spots on cutlery and a white limescale film inside the tub are usually not a detergent problem: the dishwasher's water hardness level is set wrong, or the salt and rinse aid have run out.
According to manufacturer instruction manuals, if your tap water is harder than 7 °dH (roughly 12.5 French degrees) the appliance's decalcification system has to be active, and that system only works if there is special salt in the reservoir and the level matches your water.
This guide shows how to find your water hardness, how to change the level from the appliance menu, and how to fill the salt reservoir and the rinse aid dispenser in the right order. The first run takes about half an hour; later salt top-ups take a couple of minutes.