Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1348
  • Last Modified:

Cognos Report Case Sensitivity Issue.

I am developing a Cognos report which is reporting a list of codes, unfortunately the underlying data is not all in the same case, so codes exist such as 'ABC12345' and 'abc12345' (the only difference being the case). These codes are actually the same, but Cognos treats them as different - for example when I summarise the data the total is 2 rather than 1. e.g.

ABC12345
abc12345
--------------
2

When in reality this should only be 1, as the data is the same. How can I make Cognos treat the data without case sensitivity. I do not want to play around with database collation, as the problem only exists with this specific case. A fix for the specific report would be good.
0
Blowfelt82
Asked:
Blowfelt82
1 Solution
 
burrcmCommented:
Set the data field to function "upper". eg upper(fieldname), then they should all look/act the same.

Chris B
0
 
SNeupaneCommented:
If you are using a count, change that to count distinct but the upper() method suggested above or lower() should convert the text to same case.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now