Directorio de proyectos : calculation of ration and comparison - Calculation query needs fixing