QUESTION

How can we filter a Cognos report to show only data belonging to the resource executing the report?


ANSWER

The current resourceId can be referred to as

  #sq($account.parameters.ResourceId)#

So a filter could look like

  [ResourceId] = #sq($account.parameters.ResourceId)#

and then it would only show data for the resource running the report. [ResourceId] is just an example here, it could be [createdby] or other fields that are part of the report and that contain a resourceId.