Create a Cognos Report with three queries for multiple values

Posted on 2012-09-04
Last Modified: 2012-09-05
I am asking for instructions on how to write a cognos report with three queries that would be able to use multiple values from a value prompt without combining the three queries to just a single query.
Question by:kwcowboy195612
    1 Comment
    LVL 8

    Accepted Solution

    It's little confusing.
    Do you have to use prompts or can you simply use hard coded filter in each query?
    If you can use filters in each query/list, it'll run independently of other queries.

    If you want to pass prompt values to 3 queries in the report, there is no direct way to choose what value to use for what query. All queries must use the same values from one prompt.

    If you want to separate each query to run different prompt values, you have to create 3 prompts and filter each prompt to corresponding query.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    1. Set up your parameter at the report level as usual, check the box Multi-value, and set the Data Type to String 2. Set the Stored Procedure Parameter to varchar(max)  --<---- This part here is the key to it's success Example:    @cst_key var…
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now