Directorio de proyectos : calculation of rations and comparisons - Calculation query needs fixing