This has become a hot topic lately because detergent manufacturers have been forced to eliminate phosphates in their detergents. This will cause a lot of white film build up on glasses and small particles on a lot of the rest of the dishes. The best way to fix this problem is to add an additive called Glass Magic. This can be purchased at your local appliance parts store and it contains about 25% phosphates so if you add a teaspoon with your normal dishwasher detergent, you will get much better results. You can always check your detergent box on the ingredients label to confirm that your detergent is phosphates free to see if this problem is affecting you or not.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases.