To combat this deficiency, add magnesium-rich foods into your diet, such as leafy green vegetables, nuts, seeds, and whole grains. A strong desire for sweets could be linked to a chromium deficiency.