If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Difference in Crosstab and list results

Started by gauravd20, 30 Jan 2009 10:09:40 AM

Previous topic - Next topic

gauravd20

am getting different results between crosstab and list results.
Native sql is identical, the cognos SQL has some differences in last pass.
Am attaching the cognos sql.
please let me know wat is going wrong over here..

gauravd20


blom0344

If you look closely you will notice the added 'filter' in one of the Cognos SQL's. I suspect that this is due to an additional summary filter in the report. It will not show up in the native SQL as the filter action is performed on the Cognos server (and not in the execution of SQL in the database)

We also found that there are differences between Cognos 8 versions in the generated SQL behavior. In early versions fetching a dataitem and not using it in the crosstab would still result in having it in the SQL. Later versions seem to simply remove unused items , with sometimes unwanted results.