IBM Support

A conditional variable based on a query item that is not displayed within the current container causes CRX-API-0005

Troubleshooting


Problem

An error occurs when there is a conditional variable based on a query item that is not displayed within the current container on the report layout. This is due to new functionality in IBM Cognos that optimises the query to eliminate unused data items from the resulting query SQL or MDX. To include a query item on the layout without displaying the object requires that the query item be added to the properties of the container in the layout.

Symptom

CRX-API-0005 An error on or around the position '0'. The variable named '[QueryX].[XXXX]' is invalid.

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Report Studio","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.2.2;10.2.1;10.2;10.1.1;10.1","Edition":"All Editions","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

1018453

Document Information

Modified date:
07 May 2025

UID

swg21339433