COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: inu on 31 Oct 2017 11:34:45 AM

Title: Fetching common row on two different conditions
Post by: inu on 31 Oct 2017 11:34:45 AM
Hi Team,
My requirement is.. I have to take count of I'd on two different conditions as follows
1.Count (distinct case when mndtry='infosec '  then I'd end )
2.Count (distinct case when mndtry='integrity'  then I'd end )

If I write Count (distinct case when mndtry in('infosec ','integrity'  then I'd end )
It doesn't give the correct result more than expectation,
Hence I need to take the count individually on common I'd.

How to achieve this.. Please suggest.


Regards,
Inam