Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cognos 10 - Custom Field Development - WHERE?

Status
Not open for further replies.

k2msl200

Technical User
Mar 7, 2013
6
US
I am trying to create a custom calculation/field in COGNOS 10 Workspace Advanced that can identify the total units for my specialty products based on a specialty indicator ('Y').

Specialty Ind is a dimension that includes 'Y' and 'N'.
Total Units is a number/metric

With my previous reporting tool Business Objects, I was able to write the below formula. Does Cognos have something similar?

=[Total Units] Where ([Specialty Ind]=”N”)

-Thanks for any assistance.


 
Create a calculated field with SQL "If [Speciality Ind] = "Y" then 1 else 0"
Then a 2nd calculated field which totals up all the 1's in the first calculated field, taking
any other sub-grouping into account.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top