Edit Existing Prompts In Ibm Cognos Reports And Packages - IBM Cognos User Manual

Version 10.1.1
Table of Contents

Advertisement

7. Specify whether or not to Run AutoDesign, and click Finish.
8. Confirm that your selected items appear as expected in the Data Sources list.
9. Save the model.
Results
If you imported measures that are not in scope for a particular dimension, or that
apply to more dimensions than your report users need, remove the extra items.
Alternatively, ensure that the scope is set correctly between the dimensions and the
fact query before you proceed.

Edit Existing Prompts in IBM Cognos Reports and Packages

You can use a report created in Query Studio or Report Studio, or an IBM Cognos
package as a data source for a model. These data sources may contain prompts
that add interactivity for users. Prompts are questions that help users customize
the information to suit their own needs. For example, a prompt may let users
select a product type. Only products belonging to the selected product type are
retrieved and shown in the report.
Prompts are either mandatory or optional; mandatory prompts require values
before Cognos Transformer can execute queries. For optional prompts in reports or
packages, Cognos Transformer does not require that you provide values.
When using a report with prompts as a data source, the user interface presented
by Cognos Transformer for prompts may be different than the user interface
presented when running the report in the IBM Cognos studio. For example, a
report with a prompt page defined to contain a single-value select drop-down list
may be presented in Cognos Transformer as a multi-value select list. This behavior
occurs because Cognos Transformer does not process any information from report
prompt pages. Ensure that you understand the purpose of each prompt when
using a report as a data source.
Many types of prompts exist, such as a text box prompt where you type a single
value, and a value prompt where you select a value from a list. The prompt type
determines the number of values you must provide, and the user interface shown
for entering those values. For example, for a single-value prompt, Cognos
Transformer uses the value when executing the query. For prompts with more than
one value, Cognos Transformer lets you define multiple values. These values are
presented in a drop-down list from which you can select more than one value
when Cognos Transformer executes the query. Note that although default values
for multi-valued prompts are supported in Cognos Transformer when using a
report as a data source, the default values do not appear. However, if you do not
provide any values for the prompt, the default values are used.
Report or package authors determine whether prompts are mandatory or optional.
You cannot change this designation within Cognos Transformer, or create prompts
using Cognos Transformer.
To create two queries in your Cognos Transformer model that are based on the
same report data source, where you want to provide different values for
mandatory prompts, you must duplicate the report data source. Use one report
Tip: To view sample data or the SQL from your data source, from the View
menu, click Data Source Viewer.
Chapter 3. Data Sources for Your Model
29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents