Sie sind auf Seite 1von 6

What is the reason for creating a database Signon in Cognos 8

To avoid a situation when multiple users access the database engine and need to enter database credentials every time they need to run a report. When a database signon is created, users and groups that can access the signon can be specified.

Cognos Questions

1) 2)

Tell me about yourself. What is your role in your project and how many reports developed in your project and complexity?

Role: Report Developer creating different types of reports according to the business requirement. In current project, i hav developed around 15 20 reports. Around 10 reports are medium complexity. 2 reports are high complexity reports and remaining are low complexity. Low Level Reports: Simple reports with 1 or 2 calculations and 1 or 2 filters. Medium Complexity: some conditional formatting need to be applied. High level reports: Multiple queries with more calculations. Complex reports: More functionality and more objects using in the report. 3) Please rate yourself out of 5 in FM ,Report Studio and other studios.

In Report studio: 3 out of 5 In Query Studio: 3 out of 5 In FM: 2 out of 5 4) DWH Concepts and SQL queries?

DWH Concepts: 4 out of 5 SQL: 3 out of 5

Compare to snowflake schema , why star schema is better? And Dimension table and Fact Table?
5)

(see in the book)


6) Cognos Architecture

3- Tier Architecture web server, application & Data Tier The cognos architecture starts with Cognos user interfaces these are web based & window basedinterfaces. Web server contains cognos gateways. Application Tier contains components like dispatcher and Content Manager.

Data Tier contains content store, query databases and metric stores. 7) What is the Content manager and content store?

(see PPT) 8) Cognos report types generally(LIST, Crosstab and Drill through and master detail reports)

List: Contains data in rows & columns. Columns contains data items and rows shows the data of the columns. Ex: Product details (Product_ID, Product_Name, Quantity, Price, Revenue) can be shown in a list. Crosstab: is used to compare the values and the intersection points of rows & columns can be calculated to provide summarized information. Ex: we can create a report to show the revenue of each product in each year. Rows will represent Product and columns will represent Year. Measures (intersection point) will represent revenue. Drill Through Report: (see the notes) Master Detail Report: (see the notes) 9) Improve the Performancee of the report

10) Cognos connection, Scheduling and administration Knowledge? 11) What is the reason for creating a database Sign on in Cognos 8? 12) What is the Job how to create the job in Cognos connection? 13) Summarized filters & group filters? 14) What are the prompt and filter types? 15) What are the variables and give one examples? 16) How will you hide report title in PDF format, but title should remain unchanged in HTML format?

a)Use ReportOuput() function to hide the report title in PDF format. Create a variable(can be Boolean or String) like ReportOutput()="PDF". Use this variable to conditionally hide and show report title. When run in PDF format the variable hides title and shows it in html.
17) How to show the report(I have three pages) in different formats like PDF,HTML and CSV?

Cognos filter & prompts ?


Filters: Filters are used to remove unwanted data from the report. Filters are two types 1) detailed filter 2) summary filter Detail filter: The working of detail filter is based on APPLICATION For Ex: The report has the following columns [year], [product name],[Quantity] The filter I applied as follows.

If I select Before auto aggregation, what will happen? The data will be filtered based on qty<500 at database level. Whatever the records are there which are less than 500 will be summed up for year, product line and result will be displayed.

If I select After auto aggregation, what will happen, First the records are aggregated for year, productname then the filter qty<500 will be applied on those aggregated records, If there are any records statisfying qty<500 then we will get the output

Summary filter: IF I want to use this summary filter, I should have groups and groups totals in the report.

While applying summary filter, we should set scope to specify particular subtotals to apply the filter weather filter to be applied on product type totals, or product line total or year totals

PROMPTS:

All the filter are hardcoded. IF u run the report any number of times the same filter will be applied and the same output we will get. Suppose If you want to select filter values at run time, then we use prompts.. There are several prompts that cognos supports 1. 2. 3. 4. 5. 6. 7. 8. 9. Text box prompt Value prompt Select & search prompt Data prompt Time prompt Date & time prompt Tree prompt Interval prompt Generated prompt

There are several ways to get the prompts

1) When we use parameter( for ex: ?x? ) in the filter then we will get prompt automatically..

When we run the report, Cognos will create a prompt automatically as follows...

The automatic generated prompt may not consistent, suppose if you want prompt at center of the page, it is not possible here, suppose if I want select & search prompt, I cant change here..

2) Select the columns in the report page for which u want to create prompts, then go to tools menu, select Build prompt page option as follows