How to combine two queries?

Can you help to combine these two categories so that I can have dynamic pivot table ?
Thank you,
IF OBJECT_ID('Temp') IS NOT NULL
DROP TABLE Temp
select 'Referrals Received' AS CategoryType,
'A' AS CategorySort,
cn.Cntry_Definition as Cntry,
COUNT(*) AS Cnt,
SUM(SUM(1)) OVER () AS Total
INTO Temp
from  WRAPSIST0.dbo.tblindividual i
inner join   WRAPSIST0.dbo.tblcase c on c.case_guid = i.case_guid
inner join  WRAPSIST0.dbo.tblCountry CN on CN.Cntry_Code=c.Cntry_CodeLocation
inner join  WRAPSIST0.dbo.tblfiscalyear fy on case_createdate between fy_startdate and fy_enddate
where fy_year = '2014' and casear_code <> 'du' and c.CaseP_Code<>'sv'
GROUP BY cn.Cntry_Definition
 order by cntry asc
DECLARE @CountryList varchar(8000),@SQL varchar(max)
SELECT @CountryList= STUFF((SELECT ',[' + Cntry + ']' FROM Temp FOR XML PATH('')),1,1,'')
SET @SQL = 'SELECT CategoryType,' + @CountryList + ',Total FROM Temp t 
PIVOT(SUM(Cnt) FOR Cntry IN (' + @CountryList + '))p'
EXEC(@SQL)
IF OBJECT_ID('Prescr') IS NOT NULL
DROP TABLE Prescr
select 'Prescreen Completed' AS CategoryType,
'B' AS CategorySort,
cn.Cntry_Definition as Cntry,
COUNT(*) AS Cnt,
SUM(SUM(1)) OVER () AS Total
INTO Prescr
FROM ReportStatistician.dbo.vwEventLog_LatestPSI_SCH t
inner join  WRAPSIST0.dbo.tblIndividual i on i.Ind_GUID=t.Ind_GUID
inner join  WRAPSIST0.dbo.tblCase C on C.Case_GUID=i.Case_GUID
inner join  WRAPSIST0.dbo.tblNationality N on N.Nat_Code=i.Nat_Code
inner join  WRAPSIST0.dbo.tblCountry CN on CN.Cntry_Code=c.Cntry_CodeLocation
inner join  WRAPSIST0.dbo.tblfiscalyear fy on t.EventLog_EffectiveDate between fy_startdate and fy_enddate
where fy_year = '2014' and c.PreS_Code='com'
GROUP BY cn.Cntry_Definition
 order by cntry asc
--DECLARE @CountryList varchar(8000),@SQL varchar(max)
SELECT @CountryList= STUFF((SELECT ',[' + Cntry + ']' FROM Prescr FOR XML PATH('')),1,1,'')
SET @SQL = 'SELECT CategoryType,' + @CountryList + ',Total FROM Prescr t 
PIVOT(SUM(Cnt) FOR Cntry IN (' + @CountryList + '))p'
EXEC(@SQL)
CREATE TABLE #final
CategoryType varchar(50),
CategorySort char(1),
cntry char(20),
Total int
select CategoryType, cntry, Total 
from #final
order by CategorySort
Erdal Huzmeli

The result of the query looks as following;
CategoryType
Kuwait
Lebanon
Turkey
United Arab Emirates
Yemen
Total
Referrals Received
1
2
3
4
5
CategoryType
Kuwait
Lebanon
Turkey
United Arab Emirates
Yemen
Total
Prescreen Comleted
6
7
8
9
10
I want the query to show the following result if it possible?
CategoryType
Kuwait
Lebanon
Turkey
United Arab Emirates
Yemen
Total
Referrals Received
 1
2
3
4
5
Prescreen Completed
 6
7
8
9
10
Thank you,
Erdal Huzmeli

Similar Messages

  • How to combine two queries in one EXCEL

    hi i got one requirement
    i got one excel sheet  from user which contains two  report s(hoe we know whether it is worknook or not) of  2011 data and now user wants 2012 data .now i icluded jan 2012 to dec 2012 in two reports and sent to user.But user is asking these two reports want to see in one sheet.
    so how can i proceed: if i go for work  book  how can i include these two reports in workbook and here my doubt is if i create a workbook based on  these two querie which name i have to give user.Please help me out on the same.
    Regards,
    Madhu.

    Hi Madhu
    Run one query. Click on a empty space in the excel
    From the BEx Design Toolbar -
    >Insert Analysis Grid -
    > Right click on the Design Item
    Edit the DataProvider.....You can ran same or different query with selection. 
    Save the result
    Check this link for detail....I am also searching for something with screenshot
    Regards
    Anindya
    Edited by: Anindya Bose on Feb 14, 2012 3:04 AM

  • How to Combine two queries into One

    Hi Gurus,
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL>
    I have following two queries. How I can convert these two queries into one with the same result ?
    Q1
    SELECT id,vdate,vendorname,venddate,vid
    FROM VENDOR
    WHERE processid=32
    AND venddate is null
    AND vid in(select vid from view_vid where type='PDX')
    AND (id,vdate) not in (select id,vdate from vkfl_is where task_id=55)
    AND (id,vdate) in (select id,vidate from market_data where marketed_date is null)
    AND id not in (select id from location)
    Q2
    SELECT id,vdate,vendorname,venddate,vid
    FROM VENDOR
    WHERE processid=20
    AND venddate is null
    AND vid in(select vid from view_vid where type='PBX')
    AND (id,vdate) not in (select id,vdate from vkfl_is where task_id=40)
    AND (id,vdate) in (select id,vidate from market_data where region_date is null)
    AND id not in (select id from location)
    I can UNION these two queries, but, is there any way I can write a single query with which gives me same result as above two queries?
    Any help would be highly appreciated
    Thanks in advance

    Hi,
    You can do something like this, which will be more efficient than a UNION:
    SELECT  id, vdate, vendorname, venddate, vid
    FROM  vendor
    WHERE  (   (    -- Conditions that apply only to q1
                               processid = 32
                AND  vid       IN (SELECT vid FROM view_vid WHERE type = 'PDX')
                AND (id,vdate) NOT IN ( SELECT id, vdate
                                        FROM   vkfl_is
                                        WHERE  task_id = 55
                AND (id,vdate) IN ( SELECT id, vidate
                                    FROM   market_data
                                    WHERE  marketed_date IS NULL
            OR  (  -- Conditions that apply only to q2
                     processid = 20
                AND  vid       IN (SELECT vid FROM view_vid WHERE type = 'PBX')
                AND (id,vdate) NOT IN ( SELECT id, vdate
                                        FROM   vkfl_is
                                        WHERE  task_id = 40
                AND (id,vdate) IN ( SELECT  id, vidate
                                    FROM  market_data
                                    WHERE  region_date IS NULL
                   -- The remaining conditions apply to both q1 and q2
    AND     venddate   IS NULL
    AND     id         NOT IN (SELECT id FROM location)
    I hope this answers your question.
    If not, post  a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to combine two queries using Web application Designer

    Hello experts...
    This should be a simple request.
    I have two existing queries that I simply want to display on the same template. What is the best way to do this?
    To add more complexity to it, if there is a result value that I want to pull from each of them, how can this be done so that I can add the results of the two into one total?
    Any help that you can provide is greatly appreciated. Thanks

    Hi,
    Displaying the existing queries on the same template is very simple... Drag and drop to web items... for ex we will drag and drop two analysis web item...
    Create 2 data providers and assign it to the web items... each dataprovider is in turn assigned to two existing queries...
    I am not sure about the result value to be pulled from each of them...
    Regards,
    Kishore

  • Confused on syntax-combine two queries

    I have two queries that I'm trying to combine, but can't figure out how to combine them ... successfully!?! The first query is pretty simple in that I'm looking at several fields from two different tables, no big deal.
    The second query calculates the years, months, days between two dates that are used in the first query. I'm stumped on how to combine the queries so that they place nice with each other and return results.
    Here's the first query ...
    select
    RTRIM(RTRIM(vpi.LastName) + ', ' + RTRIM(ISNULL(vpi.FirstName,''))) Employee,
    convert(varchar,vpi.FromEffectiveDate,101) PositionStart,      
    convert(varchar,vpi.ToEffectiveDate,101) PositionChange,
    convert(varchar,vpi.PositionStartDate,101) PositionStartDate,
    vpi.PositionReason, vpi.PositionCode, vpc.PositionCodeDescription
    from vhrl_positioninfo vpi
    inner join position_codes vpc on vpi.PositionCode = vpc.PositionCode
    Here's the second query ...
    select
    [Age] = convert(varchar, [Years]) + ' Years ' +
              convert(varchar, [Months]) + ' Months ' +
              convert(varchar, [Days]) + ' Days',     *
    from
         select
              [Years] = case     when BirthDayThisYear <= Today
                        then datediff(year, BirthYearStart, CurrYearStart)
                        else datediff(year, BirthYearStart, CurrYearStart) - 1
                        end,
              [Months]= case     when BirthDayThisYear <= Today
                        then datediff(month, BirthDayThisYear, Today)
                        else datediff(month, BirthDayThisYear, Today) + 12
                        end,
              [Days]= case     when BirthDayThisMonth <= Today
                        then datediff(day, BirthDayThisMonth, Today)
                        else datediff(day, dateadd(month, -1, BirthDayThisMonth), Today)
                        end,
              Birth = convert(varchar(10) ,Birth, 121),
              Today = convert(varchar(10), Today, 121)
         from
              select     BirthDayThisYear =
                   case     when     day(dateadd(year, datediff(year, BirthYearStart, CurrYearStart), Birth)) <> day(Birth)
                        then     dateadd(day, 1, dateadd(year, datediff(year, BirthYearStart, CurrYearStart), Birth))
                        else     dateadd(year, datediff(year, BirthYearStart, CurrYearStart), Birth)
                        end,
                   BirthDayThisMonth =
                   case      when      day(dateadd(month, datediff(month, BirthMonthStart, CurrMonthStart), Birth)) <> day(Birth)
                        then     dateadd(day, 1, dateadd(month, datediff(month, BirthMonthStart, CurrMonthStart), Birth))
                        else     dateadd(month, datediff(month, BirthMonthStart, CurrMonthStart), Birth)
                        end,
              from
                   select     BirthYearStart = dateadd(year, datediff(year, 0, Birth), 0),
                        CurrYearStart = dateadd(year, datediff(year, 0, Today), 0),
                        BirthMonthStart = dateadd(month, datediff(month, 0, Birth), 0),
                        CurrMonthStart = dateadd(month, datediff(month, 0, Today), 0),
                   from          
                        select birth = convert(datetime, fromeffectivedate) ,
                        Today = case when convert(datetime, toeffectivedate) = '3000-01-01'
                                       THEN convert(datetime, convert(int,getdate()))
    else vpi.toeffectivedate
    end
         from vHRL_PositionInfo vpi inner join position_codes vpc
                        on vpi.PositionCode = vpc.PositionCode
                   ) aaaa
              ) aaa
         ) aa
    )a
    Here's the sample data ...
    vpi table ...
    LastName FirstName FromEffectDate ToEffectDate PosStartDate PosReason PosCode
    Doe John 2001-10-15 3000-01-01 10-15-2001 Transfer OperPack
    Smith Tom 1994-11-28 2001-10-14 1994-11-28 New Hire OperDC
    vpc table ...
    PosCode PosDescription
    OperPack Pack Line Operator
    OperDC Descaler Operator
    This is what the results should look like ...
    John, Doe 2001-10-15 3000-01-01 10-15-2001 Transfer OperPack Pack Line Operator 6 Years 11 Months 16 Days
    John, Doe 1994-11-28 2001-10-14 1994-11-28 New Hire OperDC Descaler Operator 6 Years 6 Months 19 Days
    I know the date calculation piece adds 5 additional fields to the end, but they are not needed for the final report. Any help would be greatly appreciated! Thank you! Jena

    Your query suggests you're not using Oracle. Please post in your relevant database forum.

  • How to combine two datarows (business component data) in BI Publisher

    Hi ,
    We are using BI Publisher in Siebel Environment.
    We have data coming from two business components (like from 2 diff tables)
    a) <?for-each:ssTest1?>
    b) <?for-each:ssTest2?>
    ssTest1 and ssTest2 are the business components
    We need to combine these 2 datarows (a&b) and show the data into a single combined data row for ex like <?for-each:ssTest1ssTest2?> and show all the fields in that.
    I'm not sure how we can combine these two data rows into a single combined data row and show the data.
    Any help from any one would be apprecated.
    Thanks
    PV
    Edited by: user8633002 on Oct 21, 2010 4:05 PM

    Hi sajid
    There was nothing more description about your issue in this site and I found an issue below is mostly like yours
    http://www.codeproject.com/Questions/855487/how-to-combine-two-table-value-in-rdlc-report
    In the issue above, if you want to show the two other tables in the report, I think you could combine the tables into one datatable joining on key. The link below show an example of a DataSet Helper from Microsoft about combine DataSets. Take note of
    the related content for other DataSet Helper examples. And then you could use the datatable in your RDLC.
    # HOW TO: Implement a DataSet JOIN helper class in Visual C# .NET
    http://support.microsoft.com/kb/326080/en-us
    In an alternative way, I think you could create a view in the database which combine your tables and use it in your rdlc.
    In addition, your issue is about asp.net and you could get more support in the asp.net forum whose link as below.
    http://forums.asp.net
    Best Regards
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • How to fire two queries in one bean

    When I am trying to fire two queries using statement and result set
    it is showing error "result set is closed".
    How to fire two queries?

    Just do it. The ResultSet should be the result of the query. So you're working on a wrong reference or something.

  • How can I combine two queries ? QoQ does not work

    I have one query where I just count the total qty coming in per month, something like:
    <cfquery name="qryIn" datasource="dbname">
    select count(orderNO) as totalIN,month
    where status = "IN"
    group by month
    </cfquery>
    I then have a second query to count the total qty going out per month
    <cfquery name="qryOut" datasource="dbname">
    select count(orderNO) as totalOut,month
    where status = "OUT"
    group by month
    </cfquery>
    I then use QoQ to combine both:
    <cfquery="qryTotal" dbtype="query">
    select
    totalIN,
    totalOUT
    from qryIN,qryOUT
    where qryIN.month = qryOUT.month
    </cfquery>
    The problem I am running into is that QoQ does not allow LEFT JOIN, so that if the month is in one query but not the other, it will not pick up that record. And that is throwing off my counts.
    How can I combine  both queries, and bypass QoQ to get a qty IN and qty Out value, per month ? and, for example, if qty in exists for one month and qty Out does not exists for that month, then qty Out will be zero for that month.
    I need this data to plot a chart.
    Thanks for any help provided.

    Do it in a single query to your database.  Here is part of it.
    select month
    , sum(case when when status = "IN" then 1 else 0 end) total_in

  • How to combine two dimension in dashboard??

    Dear experts,
    I have a requirement that i need two combine two dimension in dashboard.
    Ex:-
    -  I have two different providers (Query1 and Query2) and both is having common dimension called Plant.
    - The plant from both query is having different values (for example, Query1 Plant = A,B,C and Query2 Plant = D,E,F,G)
    - Now I want the total list of plants from both query and list of plants will be used as filter on combo box in dashboard.
    Note: List of values for Plant (dimension) may increase or decrease from both query.
    Thanks and regards
    Vijay Muniraj

    Hi Vijay,
    How can you combine the 2 queries as a single query in dashboard?If i understood the query,use a Multiprovider for your requirement and get the combined results in single query and use Plant as single prompt in the dashboard(If you are getting data from BI).You cannot merge this behaviour in the dashboard.(In Web Intelligence you can merge it based on common dimension values only).
    Regards,
    Venkat

  • Combining two queries in a join

    SQL> desc messages;
    Name Null? Type
    MESSAGEID NOT NULL NUMBER
    TITLE NOT NULL VARCHAR2(50)
    AUTHOR VARCHAR2(20)
    BODY NOT NULL VARCHAR2(4000)
    BOARD NUMBER
    THREAD NOT NULL NUMBER
    DATE_CREATED NOT NULL DATE
    SQL>
    I'm trying to combine both queries outlined below. The first query
    selects the very first message created in the messages table. It does
    this by checking whether thread=0. If it is that means it started a message.
    The second query checks the number of replies to the thread above.
    The replies to the above message
    will have a thread value the same as the above messageid.
    That is how a reply is identified.
    I am trying to do both queries in one so that the output has
    the starting message first with the name
    of the person who created the new thread(author), date_created, etc....below that
    then is the
    number of replies to the message,the author of each reply and the date....
    I'm using oracle 8i so i cant use the join key word...
    any ideas would be appreciated.
    ----selects message that started thread---------------------------------
    select b.title,b.boardid,m.messageid,m.title,m.author,
    m.date_created,m.body
    from messages m, boards b where b.boardid=m.board and m.thread=0 and b.boardid='198'
    and m.messageid='241';
    Thread title Author Starting message Last post
    Austrailia noel Austrailia 04/01/2005 21:22:35
    -----selects replies to the above message-----------
    select author,date_created,body
    from messages
    where board=198 and thread=241;
    AUTHOR DATE_CREATED BODY
    noel           05-JAN-05 Oz is played on clay
    noel 05-JAN-05 Oz played on grass
    noel 05-JAN-05     Oz played on grass

    This is a duplicate post of the following thread:
    URGENT: combining two sql statements

  • How to combine count() queries to tables in different environments?

    Hi all,
    I've got two tables that have the same schema, but slightly different data. One is a test db, and the other is a model office db (i.e. neither is a production db).
    I run these two queries, individually, from within the test db:
    select count(cdeSource), cdeSource
    from schema1.SomeTable
    group by cdeSource
    order by cdeSource
    select count(cdeSource), cdeSource
    from schema1.SomeTable@TheModelOfficeDB
    group by cdeSource
    order by cdeSource
    The column cdeSource can contain a 1 to 1 relationship with another field in the tables, but it can also contain a 1 to many with the other field.
    Right now, I need to export each result into a file and then do a compare between the two to find the differences, between the two tables, out of the big results.
    Question: How can I combine those two queires into 1, and show only the differences from the "count(cdeSource)" results column?
    Thanks.
    Edited by: we5inelgr on Jan 29, 2013 5:29 PM

    we5inelgr wrote:
    Example snippet of results:
    Test environment
    Count(cdeSource) | cdeSource
    2 | "00.01" <---Same as other environment, would like to exclude
    6 | "00.09" <---Same as other environment, would like to exclude
    16 | "00.50" <---Different count, for same cdeSource. need to include
    2 | "00.95" <---cdeSource only found in Test. need to include
    2 | "72.1" <---Different count, for same cdeSource. need to include
    Model Office environment
    Count(cdeSource) | cdeSource
    2 | "00.01"
    6 | "00.09"
    10 | "00.50"
    3 | "72.1"
    6 | "98.1" <---cdeSource only found in Model Office. need to include
    I tried putting "MINUS" in between both queries, and it gives me an error: ORA-00933: SQL command not properly ended.
    I tried wrapping that whole query, within a select * from () but gave me a different error: ORA-00907: missing right parenthesis
    Other ideas how to combine the two?
    Thanks.if & when you use valid syntax, then no errors get thrown.
    We can not tell you what you do wrong, since you don't use COPY & PASTE to show us what exactly you do.
    SELECT cdeSource, COUNT(cdeSource) FROM TABLE1
    MINUS
    SELECT cdeSource, COUNT(cdeSource) FROM TABLE1@remote_db;

  • Combining two queries in one..

    Hi,
    Can someone tell me how to combine follwoing two queries in one so that it will increase performance..
    SELECT single PLNNR from AFKO
           into T1
           WHERE AUFNR = '007200000100'.
    SELECT single STATU from PLKO
           into T2
           WHERE PLNNR = T1.

    using subqueries it is possible
    select single statu from plko into t2 where plnnr in (select single plnnr from afko where aufnr eq '007200000100').
    read about subqueries at this link...
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/dc7614099b11d295320000e8353423/frameset.htm
    regards,
    PJ

  • How to combine +two fields without submitting page (via AJAX/HTMLDB_Get)?

    Hi all,
    After my last contribution "Request for Scott Spendolini" I was able to create the scripts to update fields in forms without having to refresh the page. Thanks again to Scott, Carl and the others who helped me solving my problem.
    I have another question regarding this however. How do I combine two (or more) values on a form to fill a field with the values, for instance to create a unique Primary-key field?
    This is the example: combine the postcode and the house-number (and maybe an extension to the housenumber) in one field 'adrescode'. This uniquely identifies an adress in the Netherlands. I can 'get' the postcode to fill the first part of the adrescode, but how do I modify the scripts to 'get' the housenumber (huisnummer) and - if not left null - the extension to the housenumber?
    Here are the scripts I created to far:
    in the region source of the page I have the following Javascript:
    <script language="JavaScript1.1" type="text/javascript">
    function f_P52_getAdrescode ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=P52_getAdrescode',0);
    get.add('P52_POSTCODE',html_GetElement('P52_POSTCODE').value)
    gReturn = get.get();
    if(gReturn)
    {  html_GetElement('P52_ADRESCODE').value = gReturn  }
    else
    {  html_GetElement('P52_ADRESCODE').value = 'null'  }
    get = null;
    </script>
    and in the shared components of the application I have created an process P52_getAdrescode as follows:
    declare
      l_adrescode varchar2(16);
    begin
        l_adrescode := :P52_POSTCODE || :P52_HUISNR ;
        if :P52_HUISNRTOEVOEGING is null then
              NULL ;
        else
              l_adrescode := l_adrescode ||':'||:P52_HUISNRTOEVOEGING ;
        end if ;
        htp.prn(l_adrescode);
    -- dbms_output.put_line(l_adrescode);
    end;
    I ran this PL/SQL in the SQL-section of HTMLDB and it does what a expect: combine the values in a new string.
    In my page however, it only gets the value of postcode and puts this into the adrescode field.
    So my question is: how do I modify the Javascript (I Guess) so that also the fields 'huisnummer' and 'huisnummertoevoeging' end up in the adrescode field?
    Thanks for your help,
    Jan.

    Carl, Scott,
    I have two pages with exact the same fields and codings (as described before in this Post.
    I now have two different named functions and application processes, a javascript an process for each page. They both do the same thing, use the same code except for the page-number (:P52_ and :P92). I tried to make one process to replace both, but ran into problems when I changed the name in the get.add statement.
    Changing the get.add from: get.add('P52_POSTCODE',html_GetElement('P52_POSTCODE').value) to: get.add('POSTCODE',html_GetElement('P52_POSTCODE').value) always ends up in what looks like a complete html-(source)dump of the page in the field that has to be updated. Even when I replace the :P52_POSTCODE in the application process as well Changing back the application process and the javascript to so that both javascript and process use the :P52_ again and the function returns the correct value again. What am I doing wrong?
    I requested an online-workspace to post the application to it, but have no answer to my request yet, so I can't provide a working example at the moment....
    Thanks for your help again,
    Jan.

  • Does anyone know how to combine two apple ID's together?

    I have found out that I have two Apple ID's! One is for my apps on my iphone and the other is for iTunes.  Somehow they are set to different email addresses but are being sent to the same email address.  Does anyone know how to combine them, so I use just one Apple ID?

    This is my solution too.
      You see, what I also downloaded all the free apps I have on iPhone to this account I choose to use, so this way I didn't need to change accounts (of course it was on the iOS 5 times)

  • How to Insert two queries in a single workbook in BI 7 ?

    Hi,
               I am trying to insert two queries in a single workbook. The queries are of Accounts Receivable.I have inserted one query in a workbook , but am not able to proceed to inserting the second query. In BEx analyzer, in design mode , using analysis grid , i tried inserting the second query but when saving and running, i am getting message " Variables are present, change their values " . should i maintain same variables for two queries ? i am stuck up. please explain me as how can this be done.
    Roja.

    Hi,
    If you get the message "Variables are present, change their values" ,it means that the query which you inserted having variables.
    You just click the "Change Variables" icon in the Analysis Toolbox,which will invoke the variable screen.
    Set the values in the variable screen and click OK.
    Now you will be able to see the data in the grids based on the values selected in the variable screen.
    Both queries data will be displayed in the workbook.
    Let me know in case of any clarifications!
    Rgds,
    Murali

Maybe you are looking for

  • Safari and Mail Crashing

    Safari and Mail on my iPhone have been crashing alot over the last two days. It has been happening the most when I am on the "Edge" network. Safari seems to do it when I have 3 or more pages open. Mail crash when I try to send a "reply" message. Is a

  • How come the form in the JSP page does not work if user hits "ENTER"

    When I use the following code for loginpage.jsp If the user hits ENTER on the keyboard it just displays the same form with nothing in the username box. It works if the user clicks the button. <HTML> <BODY> <% String submit = request.getParameter("sub

  • How to wordwrap in acrobat standard 9

    I am new to acrobat.  I converted a word document to a pdf, started the forms wizard and detected the text fields, but how do I set a field to wordwrap without the text getting smaller and smaller????????????????

  • Importing video to FCE4

    I'm looking at buying Elgato Video Capture, before I do can anyone tell me if you can directly import VHS video into FCE4 for editing with it? If not is there any other way of doing it?

  • Need help for Lightroom Print&Web Templates

    Hi, I have just downloaded/installed my official Lightroom version (Mac OSX 10.4) and I have realized that there is no Print nor Web Templates accessible in the Template Browser section. I think I have done a mistake since I have erased completely th