SAP Knowledge Base Article - Preview

2594405 - An incorrect result is returned when "corr()" function is used together with "group by" clause - SAP IQ


A simple query using "corr()" function may return an incorrect result when "group by" clause is used together. Adding "group by" changes the output values from negative to positive.



  • SAP IQ 15.x
  • SAP IQ 16.x


SAP IQ 16.0 ; SAP IQ 16.1 ; SAP Sybase IQ 15.4


"CORR()"; "CORR"; "COVAR_POP()"; "COVAR_POP"; "STDDEV_POP()"; "STDDEV_POP"; , KBA , BC-SYB-IQ , Sybase IQ , BW-SYS-DB-IQ , BW on HANA with Sybase IQ Near-line Storage , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.