Topic
  • 3 replies
  • Latest Post - ‏2012-12-20T04:32:44Z by SystemAdmin
Peter@BIS
Peter@BIS
26 Posts

Pinned topic Variable in Report Studio Cognos 10.1

‏2012-12-13T14:07:07Z |
Hi All,

Ik have a question. I have one report with 8 queries, kind of a dashboard. Is it possible to define one variable, for example a name or code, which can be used in all the queries in this report?
Updated on 2012-12-20T04:32:44Z at 2012-12-20T04:32:44Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    15496 Posts

    Re: Variable in Report Studio Cognos 10.1

    ‏2012-12-14T01:54:51Z  
    Hi,
    If it is needed then you can use it in whole report wherever you want.But I am not what is your issue here?

    thanks,
    Suresh.
  • Peter@BIS
    Peter@BIS
    26 Posts

    Re: Variable in Report Studio Cognos 10.1

    ‏2012-12-14T08:02:04Z  
    Hi,
    If it is needed then you can use it in whole report wherever you want.But I am not what is your issue here?

    thanks,
    Suresh.
    The question is, how to do it?
  • SystemAdmin
    SystemAdmin
    15496 Posts

    Re: Variable in Report Studio Cognos 10.1

    ‏2012-12-20T04:32:44Z  
    hi Peter
    A variable as the name suggests is a variable.
    Its value changes. and generally in report studio, variable are assigned values based on a condition.

    for e.g. Query1.Department is null
    this will be a boolean variable

    Go to the green icon(Conditional Explorer), on the bar where you have
    PAge explorere
    Query Explorer
    Conditional Explorer
    hope this helps

    cheers