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

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How to avoid the case statement in data item

Started by inu, 22 Sep 2016 03:53:19 AM

Previous topic - Next topic

inu

Hi

There are 10s of data item , each of which having case statement... it means its applying on each row,.. degrading the performance..
Can we avoid this, is there any other solution ...

I really appreciate the response...

Regards,
Inam

hespora

If you do not want them on row level, create a subquery to your existing query and have the case statements in there. Then, they will run at aggregated level as is the output of your query.

inu

Quote from: hespora on 22 Sep 2016 03:59:10 AM
If you do not want them on row level, create a subquery to your existing query and have the case statements in there. Then, they will run at aggregated level as is the output of your query.


Thanks a lot...Can you please tell me how to create subquery in cognos report studio...

No idea , boss.


Regards,
Inam,

hespora

In your query explorer, click on queries. Now, drag a query item from your toolbox into the working area. Inside the working area, drag your existing query to the right of the newly created query.

inu

Quote from: hespora on 22 Sep 2016 06:31:20 AM
In your query explorer, click on queries. Now, drag a query item from your toolbox into the working area. Inside the working area, drag your existing query to the right of the newly created query.


Thanks, so will it create subquery? I just checked it ,,, not like that...


Regards,
Inam