Since we are talking dishwasher life hacks: I always add washing soda (sodium carbonate) along with the detergent, for hard water. It's one of the main ingredients in dry detergent, but it's super cheap. It boosts pH and increases the ratio of sodium to detergent, reducing soap scum.