Magnesium and potassium are important for muscle contraction, heart rhythms, and fluid balance. You should take both magnesium and potassium with food to help absorption. Check with a healthcare ...