If you had a 231 meter dam, with a membrane filter at the bottom, fresh water will come out at atmospheric pressure. It then has to be carried back up to sea level. You could power that pump with another hole in the dam, but then the non-sea side of the dam would constantly be filling up with water. Once it's full, there's no longer any pressure difference to drive a pump.