Test your water for Total Dissolved Solids (impurities, minerals, etc). Measures in ppm parts per million. 100% pure water will give you a reading of 000 ppm.
Any measurement of 10 ppm or lower is perfectly fine for spot free window cleaning.