how to create average on totals of different departments
employees salary...? consider we have 3 dept and in each
dept 10-15 workers i need to get the totals separately for
each dept and average of there totals..help me pls

Answers were Sorted based on User's Feedback



how to create average on totals of different departments employees salary...? consider we have 3 de..

Answer / chiru

Apart from SQL Queries... When we need to generate a report
as per above requirement, first of all drag and drop deptno
(lets assume having deptno=10, 20, 30), After that drag and
drop "workers" Query item.... After that apply grouping on
deptno Query Item.... If u apply grouping on deptno.. it
automatically gets totals of all workers group by deptno...
But as per our requirement go to cummary and apply total icon
on workers Query item...
after that again apply average option from summary on workers
Query Item...
Now u can get both average and summary for deptno wise.. i.e
when u run the report......

Is This Answer Correct ?    2 Yes 0 No

how to create average on totals of different departments employees salary...? consider we have 3 de..

Answer / lakshmi reddy

select avg(depttotal) from (select sum(sal) as depttotal
from emp group by deptno)

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Cognos Interview Questions

difference between join and union in reportstudio?

2 Answers   IBM,


Hi..I have COG-112(Report Author),COG-122(Admin),COG-132(Meta data modelling). I took test end of Sep '09.I got 100% wcore with these dumps. If any body need then mail me on kris.bi121@gmail.com

2 Answers  


How to connect three fact tables?

11 Answers   L&T, TCS,


Can you define report item?

0 Answers  


What is Cardinality

6 Answers   Cognizant, HCL,






What is Performance Tunning Test?

2 Answers   IBM,


Sales person are there in one company How to do Bursting on this particular requirement?

0 Answers  


Cognos Online Training will be provided. prior training with all real time aspects. Comprehensive training will be given in Datawarehousing concepts , cognos 8.4 and cognos 10 versions. Contact kris.cognos25@gmail.com

0 Answers  


The vice president of sales has requested a report that shows sales performance by representatives in each country for year 1998. He would also like to see the performance for reprasentatives in Asia in order to present an award to the top sellers when he visits next month.

0 Answers  


..Architectural difference between cognos reportnet and cognos8?

3 Answers  


can you tell me what are the dimension tables are used in project

0 Answers   GalaxE,


What's the limitation of 'Page Footer' in Report Studio? e.g. If I have an activity prompt (list of activities in a Search & Select Prompt) and selected around 2500 activites from the 'Activity' Search & Select Prompt and when I ran the report I got a message "#! Overflow" in page footer. Can somebody please tell me what's max. limit. I tried with around 300 activities and page footer displayed the activities. Your help will be appriciated.

0 Answers   DELL,


Categories