If you are unable to create a new account, please email support@bspsoftware.com

 

Expression with count on a member set --> Execution in Database possible?

Started by florian, 02 Jun 2016 02:14:23 AM

Previous topic - Next topic

florian

Hi,

we run a Cognos 10.2.2 server with a DMR model on a DB2 database.

I have a report where I want to count the members of a dimension that fulfill a certain condition.
So I defined a memberset called 'mycases' like

filter(
cases;
condition
)


Then I defined a data item like:


count(1 within set mycases)


This works, but the problem is that the memberset can be (depending on condition) very large and I get out-of-memory-errors in certain circumstances.
The reason is clear - the server fetches all cases and does counting on the server side.

Is there a way to force the server to delegate counting to the database?

Thanks in advance!
Florian