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

What are types of batch available in cognos?

0 Answers  


2.How do you drill through report from Report Studio to Analysis studio?

3 Answers   IBM,


what are the migration tools available in the market with respect to cognos such as impromptu reports are migrated to cognos reportnet?

0 Answers   IBM,


How will you migrate your reports to QA environment?

2 Answers   Satyam,


What is value prompt limitations while creating report? What is select and search prompt?

1 Answers  






Hi I need real time senarios and how to explain project in the interview pls let me know my email id m.n.prathyusha@gmail.com.Please help me out with this

2 Answers  


how you create security to cubes ?????

4 Answers   iFlex, iGate,


What is Online View?

0 Answers   IBM,


what are determinants?

4 Answers   College School Exams Tests, IBM,


Can you define transformer?

0 Answers  


What is model filter and query filter?

2 Answers   Wipro,


what are diff b/w cognos and business objects

6 Answers   HCL,


Categories