COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: dust on 22 Aug 2023 04:30:13 AM

Title: Display a list with conditions
Post by: dust on 22 Aug 2023 04:30:13 AM
Hello all,

I need to display a list of items with conditions:

CASE
    WHEN item(x)param1 > 0 AND item(x)param2 > 0  THEN render in list2
    WHEN item(x)param1 > 0 AND item(x)param2 = 0  THEN render in list1
END

and don't render list2, if there is no items on it.

Thank you
Dust
Title: Re: Display a list with conditions
Post by: cognostechie on 22 Aug 2023 10:03:42 AM
Can't understand. Provide examples