Cognos Questions
Cognos Questions
Cubes are created using transformer. Cubes can be viewed using PowerPlay.
Cubes have impromptu query definition (IQD) files as their sources. IQD files are
generated from Cognos impromptu. IQD files contain, how the data has to be retrieved
through catalogs and logical databases.
To create a cube
1. Save the impromptu report as IQD file. (IQD)
2. Open transformer, go to file-new-ModelName(user defined)-data source name(DWH
name),source type(select impromptu query definition)-local data file(browse the IQD
file save earlier)-check the auto design check box-clk finish-database logon wizard
will be opened-enter user identifier and password to connect to the DB---click log
on---A new model will be generated with Dimension map, Data source, Measures,
power cube(still cube is not created) and Logical DB(imported from IQD file).
3. How can you restrict access onto different parts of report given a report?
Semi-Additive: Semi-additive facts are facts that can be summed up for some of the
dimensions in the fact table, but not the others. Non-Additive: Non-additive facts are
facts that cannot be summed up for any of the dimensions present in the fact table.
Current Balance and Profit Margin are the facts.Current Balance is a semi-additive fact,
as it makes sense to add them up for all accounts (what's the total current balance for all
accounts in the bank?), but it does not make sense to add them up through time (adding
up all current balances for a given account for each day of the month does not give us any
useful information). Profit Margin is a non-additive fact, for it does not make sense to
add them up for the account level or the day level.
(just Learned)IQD=Impromptu Query Definitions. IQD contains the query that is run
againt the database to get the data. It also contains the database Information. I still dont
know how is is created in FrameWork
Create a new namespace.<give it a name, say, IQDReportNet>
2. Create a new query subject inside IQDReportNet.
3.In the query subject definition window, pull in all the data you need.
4. after creating, click on the new query subject, from the properties pane, select "IQD"
from the drop down menu of externalizeMethod.
DONE.
to Publish. u need to create a package.
1. create a new package. a WIZARD will open.
2. Name the new Package; select the IQDReportNet object from the project.
3. add security, select language, select the funtion list(DB), select the location from the
WIZARD
4. Publish the package.
An .iqd file is typically created by Impromptu and contains the definition for a database
query.PowerPlay Transformer can access relational data sources via Impromptu Query
Definition files.If Impromptu is not available, you can manually create an .iqd file to
provide access to relationaldata sources.An Impromptu Query Definition describes a
source table from a Data Source. When you create amodel in Transformer, the contents of
the .iqd file are stored in the model and the embedded .iqdcontents are refreshed when the
data source is opened (that is, when you generate categories orcreate cubes). The .iqd
contents are also refreshed when you click OK on the Data Sourceproperty sheet. Input
values are retrieved from a supported database by executing an SQL querythat is stored in
the .iqd file.
When you group data, Impromptu sorts the data item you are grouping and removes
duplicatevalues. You can organize your report by grouping on one or more data items.By
associating a grouped data item to another data item, you can eliminate
duplicateinformation from your report.You can associate one or more data items with a
grouped data item. An associated data itemshould have a one-to-one relationship with the
grouped data item. For example, Order No. is agrouped data item. For each order
number, there is an Order Date. Order No. and Order Datehave a one-to-one relationship.
please explain the different stages in creating a report in cognos report net
Before creating any report in report net make sure you are have the planning information
you need.
Creating a report involves following steps:
Specifying a package
Choose a package through cognos connection>report studio>Select a module from the
list.
Choosing a report template
Create a empty report first,click one of the predefined report templates ,click OK.
Adding query items
In the insertable objects plane,select the query item that you want to add to report,drag it
to the desired location.
Saving report
Save the report from file menu.
Running the report
Open the report that you want to run.
From the Tools menu, click Validate Report.
A message box appears indicating whether any errors were found in the report.
If you want to enable Design Mode Only filters defined in the package, from the File
menu,
click Use Model Design Filters.
Use these filters to limit the amountOpen the report that you want to run.
From the Tools menu, click Validate Report.
A message box appears indicating whether any errors were found in the report.
If you want to enable Design Mode Only filters defined in the package, from the File
menu,
click Use Model Design Filters.
If you want to set run options, from the Run menu, click Run Options.
From the Run menu, click one of the options to produce the report in the format you
want.
You can produce a report in HTML, PDF, CSV, XLS, or XML.
what is Cognos Visualizer and Cognos Scripting?
visualizer is trends to creating a reports
Visualizer is a representation of data cubes in a dashboard format. We can drill through to
the ground level of a hierarchy as like in power play report but cannot add or remove
fields dynamically.
Cognos script editor : We can write cognos macros or programs in this tool and can fine
tune or process some execution.
By using Cognos MACRO script language the reports can be executed and distributed to
recipients by using mail applications.
catalog is a file containing the information (Database tables) that Impromptu users need
to create reports.
• personal • distributed • shared • secured
shared catalog is better
types of catalog in cognos impromptu.
personal,master distributed,shared,secured
master distributed catalog is better
types of catalog in cognos impromptu.
personal,master distributed,shared,secured
master distributed catalog is better
Catalog: a catalog is a file, which contains folders, columns, conditions, calculations and
prompts.
1. Catalog does not contain any data.
2. It just contains the table structures and metadata definitions.
Types of Catalogs: in cognos, we have '4' types of catalogs:
1. Distributed Catalog.
2. Personal Catalog.
3. Shared Catalog.
4. Secured Catalog.
In general, we choose either Distributed Catalog (or) Shared Catalog.
what is the difference between a cascading report and drillthru report?why do we go for
drill thru report?
cascading report works based on the condition
but drill thru work based on the data item what we select as a drill thru options
What is meant by Junk Dimension?
ans:- a diamension which does not changes the grain level is called junk diamension.
grain- lowest level of reporting.
"The junk dimension is simply a structure that provides a convenient place to store the
junk attributes"
A junk dimension is a convenient grouping of flags and indicators.
What is meant by Junk Dimension?
How do you perfom while running the report?
Where will you see the time of running report?
Size of the cube?
What are the types of prompts in ReportNet?
What is macro and how it will be work?
What is difference between Cognos and Cognos ReportNet?
How do you create cube in ReportNet?
There are 10 facts are there.How will you connect all?
the main diff b/w cognos & Report-net is , connection to the single database in cognos
and in the reportnet multi-databases can be connected. it is a web based toll
1)
Problem Description
Solution Description
B -> C
A -> < > -> D
E -> F
When you select an item from table A and D, Impromptu will try to choose the shortest
path, e.g. if A -> D existed, then this is the path Impromptu will take. But in the above
situation, the two paths are equal and so Impromptu has to make a choice, e.g. "A -> B ->
C -> D" OR "A -> E -> F -> D". Impromptu makes it's choice based on how the catalog
was constructed, which cannot be altered once it's created; order of the tables in the
catalog.
The two paths could return different results depending on the relationship between the
tables in the path.
The report would be fine IF Impromptu chose the expected path. The choice is not always
right.
Eliminating looping joins prevents Impromptu from making the wrong choice. To
eliminate looping joins, you can either break unnecessary joins, e.g. reports do not need a
join between table F and D, e.g.
B -> C -> D
A -> <
E -> F
But if you need all the joins, use ALIAS tables to break the looping join. Add an alias
table for table A and break the join from table A and E, e.g.
A -> B -> C
> -> D
Alias A -> E -> F
2)
Title: Looped joins
Created: Nov 04, 1999
Applies To: Impromptu - 2.0
Impromptu - 3.01
Impromptu - 3.03
Impromptu - 3.04
Impromptu - 3.5
Impromptu - 4.0
Impromptu - 5.0
Impromptu - 7.1
Problem Description
Under the Joins dialog on the Analyze Tab it states a Loop join is present. What does this
mean and how can it be resolved?
Solution Description
A Loop Join occurs when there are multiple paths between database tables. An example
of this is A joins to B and B joins to C and C joins to A.
The proper definition of join strategies in an Impromptu catalog is crucial to the success
of an ad-hoc reporting environment. Impromptu shelters the user from having to know
any of the technical information about the database, including name, location, table and
column names, and join strategies. The Impromptu Administrator must be very thorough
in their definition and testing of the join strategies. Impromptu provides an ability to
analyze the joins and determine any anomalies. The most common is the Loop Join.
The implications of the loop join is that there is no way to predetermine which of the
various join paths will be used by Impromptu when creating the SQL. SQL is
dynamically generated for each report as it is created and before it executes. For example,
to create a report using columns from tables A and C, we could join from A=>B=>C or
directly from A=>C. In some cases, both of these joins would result in the same data
being retrieved. However, in other cases it may result in different data. Impromptu will
always try to use the shortest route in joining multiple tables. It will also try to use the
tables that are already included in the query, rather than including an additional table.
There is no hard and fast rule to resolving Loop Joins. There are four basic resolutions:
1. Break the join
2. Create alias tables with different join strategies
3. Use the join expression editor to specify the join
4. Modify SQL
Each of these resolutions is done for a different reason and may have some issues
associated with it. Determine the best resolution for your situation by analyzing the data
with regards to the results required from the join structure.
Example:
This is producing incorrect results. To resolve this issue, make table C an alias to omit the
loop in the join structure and this will result in data displaying correctly.
A = B
A = C alias
B=C
use this query i am retriving all years OCt data from 01-10-2004 to 30-10-2007
Report result:
1 abc
2 def
1. Group on employee
2. Create a running count based on the skill field.
3. Create 3 calculated columns based on the count field.
Call them skill1, skill2, skill3:
if (count = 1) then (skill) else null
if (count = 2) then (skill) else null
if (count = 3) then (skill) else null
4. Create 3 more calculated columns using the maximum function. Call them maxskill1,
maxskill2, maxskill3
maximum (skill1)
maximum (skill2)
maximum (skill3)
How to pass multiple values from picklist prompt to sub report filter
1.Create a calculated column which contains the information that the header is to contain,
such as "Report for year 1999" (concatenated text and date to string sub string
extraction).
2.Highlight the report, and then right-click.
3.Select Properties, and then click the Headers/Footers tab.
4.Clear the Column Title Header check box. This will remove the headers from your
columns.
5.Reinsert the rest of the column headers; insert text will work. For the dynamic column,
from the Insert menu, click Data and select the calculated column you created and insert
it into the report.
which are the OLAP tools available that are supported by Oracle?
Oracle Business Intelligence Discoverer, this the OLAP provided by Oracle corparation itself,
BO(Business objects 6.5,11i), Cognos which directly support to oracle
Reporting services allows the slicing and dicing functionality. to see the non empty records, i
think you have to create a calculated measure,to hide all the non empty rows.
What is Data Warehouse
Data Warehouse
Data from different data sources is stored in a relational database for end use analysis
Data from different data sources is stored in a relational database for end use analysis Data is organized in
summarized, aggregated, subject oriented, non volatile patterns.
Data is a data warehouse is consolidated, flexible collection of data Supports analysis of data but does not
support online analysis of data.
The DSS is (Decision Support System) used for the decision making purposes, not for day-2 day
issues.by the top level/ sr/middle level managments people in a established company.
but the OLTP SYSTEMS handles the day-day transactions, data entries, billing etc issues .
top poeple in the corporate ladder hence The number of users who are making use of DSS are less.
but in OLTP(ONLINE TRANSACTION PROCESSING) the number of the users are high, since no such
kind of decision making is entailed.
The DSS is (Decision Support System) used for the decision making purposes, not for day-2 day
issues.by the top level/ sr/middle level managments people in a established company.
but the OLTP SYSTEMS handles the day-day transactions, data entries, billing etc issues .
top poeple in the corporate ladder hence The number of users who are making use of DSS are less.
but in OLTP(ONLINE TRANSACTION PROCESSING) the number of the users are high, since no such
kind of decision making is entailed.