Solved

Cognos 8 report studio

Posted on 2011-09-29
4
1,151 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

How to increase the row limit in Jasper Server.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now