Solved

Cognos 8 report studio

Posted on 2011-09-29
4
1,160 Views
Last Modified: 2012-05-12
It am trying to write a report using Cognos 8 report studio. I am trying to add a data item in the query section to show the total for two grouping at once, and am having a hard time to get the proper results.

For example I want total sales by region and the by sales person, I can have the report show this,but I am trying to get it in an actual data item so I can run other calculations off of it.

I am trying to use the total function and can get the total for one or the other but not both

Thank You
0
Comment
Question by:tjc1978
4 Comments
 
LVL 8

Accepted Solution

by:
SNeupane earned 500 total points
ID: 36816847
Use total with for clause.
For example, for sales by region:
Total ([Sales] for [Region])

For person:
Total ([Sales] for [Person])

This limits the total for the data item after the for clause.
0
 

Author Comment

by:tjc1978
ID: 36891288
Thank you for your response. I found the answer by trial and error. I was looking for two groupings in one. here is the formula

Total([Sales] for [Region], [Person])
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 37068397
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSRS report builder 3.0 6 43
Bat file to sync a directory. 12 57
How to create an interactive data pie chart 4 137
report returning null 21 102
Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question