IBM Support

Can cascading prompts be used to cascade from a Tree prompt to a List prompt?

Troubleshooting


Problem

Developer has a dimensional report with a tree prompt in it. She wishes to implement a cascading list value prompt based on the business key value selected from any level in the tree prompt.

Resolving The Problem

When you define a cascading prompt, Cognos 8 will attempt to automatically apply a filter to the child prompt query based on the value selected in the parent prompt. However, this doesn't always work as expected against a dimensional data source. This is due to the way in which data is stored and retrieved from the cube. Typically, a prompt query against a cube will only reference the dimension. The "filter" applied against this query is a "slicer" type of filter, which only works to remove "fact" data from the set. So in order to see the results of the filter, we have to have some fact information in the query.

In the attached report, built against our sample Great Outdoors Company powercube, I am able to accomplish this by using a filter function on the dimensional data item to filter the list of choices based on the [quantity] fact value. I choose [quantity] becuase that is the measure I'm using in the crosstab in the report itself.

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":"Report Studio","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.1;8.2","Edition":"","Line of Business":{"code":"","label":""}}]

Historical Number

1034536

Document Information

Modified date:
28 November 2022

UID

swg21371011