To use IBM Cognos product documentation, you must enable JavaScript in your browser.

Define Query Context When Customizing Legend Entries, Legend Titles, or Axis Labels

You want to use a revenue expression as a chart legend title. If you get an error message saying that the query context of a layout object cannot be determined, you must define the property list for the item to which it refers. You must first add the desired data item to the query before you can define its property list.

For more information, see Specify a List of Data Items for an Object.

Steps
  1. Open the chart to customize.

  2. Pause the pointer over the query explorer button  and click the query.

  3. In the Insertable Objects pane, drag the desired item to the Data Items window to add it to the query.

  4. Pause the pointer over the page explorer button  and click the chart page.

  5. In the Insertable Objects pane, drag the desired item to the layout object.

  6. In the Properties pane, under Data, double-click the Properties property.

  7. Select the check box for the data item to define.