Powerpivot filter query based on another table's visible results?

Excel 2010 x32 on Win 7 x64
I have multiple tables coming into Powerpivot via SQL connection. They have some relationships pre-defined from the source.
I need to reduce the amount of data I'm bringing in for my testing. One of the tables has great granularity, containing every event in the database. One field in this data is "Event Type".
A separate table has a short list of the event types of interest.
I'd like to filter the first table's data pull (SQL refresh) to only include the event types that are listed (and visible) in the second table, in addition to an existing date range filter that is already in place. Ultimately my goal is to widen
the date range I can pull in before hitting Excel's memory limits, by eliminating the events I don't care about.
Currently I'm using a SQL query to pull in the granular data;
SELECT
  [Fact RawData].*
FROM
  [Fact RawData]
WHERE
  [Fact RawData].[Event Date] >= N'2014-06-01T00:00:00'  
How would I adjust this to also say "only where [Fact RawData].[Event Type] IN {a column in a data pull that is already in powerpivot}"
and how will that work under a "refresh all" scenario, where I would need the event table to update before this SQL is executed each time?
Many thanks!

If I understand correctly, these articles indicate that I can apply filters during
data import, but I'm not clear how rows can be filtered during import based on
another powerpivot table results. <o:p></o:p>
From the first link:<o:p></o:p>
"For data feeds, you can only change the columns that are imported. You can’t filter
rows by values unless the source of the data feed is a report, and the report
is parameterized."<o:p></o:p>
So I guess the clarification of my original question is: How do I create a parameterized
report, based on the data in another powerpivot table, and also ensure that the
parameterized report is executed /after/ the source powerpivot table is
refreshed so that the proper row filtering is applied?<o:p></o:p>
Simplified example:<o:p></o:p>
Table 1 = List of all physicians who have ever had a patient in a large hospital system.
Filter when bringing results into powerpivot limits results to physicians from
a target physician group, clinical specialty, or other filter based on reporting needs. <o:p></o:p>
Table 2 = anonymized records for all patients, physician listed in each record. Filtered
by time period when bringing into powerpivot.<o:p></o:p>
I could bring back the whole patient table, but it is so large that Excel runs out of
resources unless my time period is tiny. If I can limit the returned rows from
Table 2 based on the current list of physicians shown in Table 1, then I will
have a much smaller data set and can expand the time period filter to be more
meaningful and make sure all the target records are brought back, without
having to run multiple subsets of physicians or time, and still have to
merge/remove duplicate records.<o:p></o:p>
Thank you for any advice/URLs/etc.<o:p></o:p>

Similar Messages

  • How to update one table based on another table ??

    Hello Friends:
    I am trying to run the following query in oracle but it won't run.
    UPDATE BOYS
    SET
    BOYS.AGE = GIRLS.AGE
    FROM GIRLS
    WHERE
    BOYS.FIRSTNAME = GIRLS.FIRSTNAME AND
    BOYS.LASTNAME = GIRLS.LASTNAME;
    This query runs fine in sql server but in oracle its saying can't find "SET". PLease tell me what is the correct syntax in oracle to update one table based on another table.
    thanks

    See if this helps.
    If you wrote an SQL statement:
    update boys set age = 10;
    Every row in the boys table will get updated with an age of 10. But if you wrote:
    update boys set age = 10
    where firstname = 'Joe';
    Then only the rows where the firstname is Joe would be updated with an age of 10.
    Now replace the 10 in the above statements with (select g.age from girls g where g.firstname = b.firstname and g.lastname = b.lastname) and replace where firstname = 'Joe' in the second statement with where exists (select null from girls g where g.firstname = b.firstname and g.lastname = b.lastname). The same concepts apply whether 10 is an actual value or a query and whether you have a where clause with the update statement to limit rows being updated.
    About the select null question regarding the outer where clause:
    Since the query is checking to see if the row in the girls table exists in the boys table what the column is in this select statement doesn't matter, this column isn't being used anywhere. In this case Todd chose to use null. He could have also used a column name from the table or a lot of times you'll see the literal value 1 used here.

  • Best way to create a table based on another table

    Hello,
    I am trying to create a table based on another table with all the data in it. It has large data.
    create table <tablename> as select * from table1.
    Is this the best way of doing it or is there any other way. please advice.
    thanks

    I am suggested to create new table as
    create table <newtable> as
    select * from <oldtable> where rownum < 1;
    then
    alter table <newtable> compress;
    then
    insert /*+ append */ into <newtable> as select * from <oldtable>;
    but i getting an error saying missing values key words ora- 00926.
    please advice

  • Filter column based on another column - OBIEE 11g

    Hi, I have kind of a strange requirement. I'm trying to build a dashboard that lets a user see data for the current day, last week, last month, or last year. I'm going to create a presentation variable called "date_range" where the user can choose one of those 4 options.
    Based on this, I've defined a column in answers with the following formula:
    cast
    case
    when 1 = 0 then "Query Time"."Date"
    when @{date_range}{'Day'} = 'Day' then Current_Date
    when @{date_range}{'Week'} = 'Week' then TIMESTAMPADD(SQL_TSI_DAY, -7, CURRENT_DATE)
    when @{date_range}{'Day'} = 'Month' then TIMESTAMPADD(SQL_TSI_DAY, -30, CURRENT_DATE)
    when @{date_range}{'Day'} = 'Year' then TIMESTAMPADD(SQL_TSI_DAY, -365, CURRENT_DATE)
    else TIMESTAMPADD(SQL_TSI_DAY, -10000, CURRENT_DATE)
    end as DATE
    Based on the 4 presentation variable, this should give the proper "start date" of when to pull data.
    Now I've added the actual date column from the date dimension. But I need to put a filter on the date dimension date column that says it's greater than or equal to the calculated column above. How do I do that?
    Thanks,
    Scott

    I always expect what you're expecting, but you can't filter a column on another column. The solution is just to write one formula that returns a literal, so it will be
    case when (your date column) >= (your long formula) then 'Y' else 'N' end
    Then filter that column on 'Y'.
    Regards,
    Robert

  • Query based on main table and audit table

    Hi,
    I had created auditing on some table. Values might not change and if they changed, it should be stored in audit table.
    I want to get the values in the table a on real time basis, like dimentions in datawarehouse.
    Trying to write a query based on table a and aud_a to get point-in-time or values at anytime in the past.
    Something like
    SELECT *
    FROM a (table_name)
    WHERE effective_from >= $DATE_TO_QUERY
    AND effective_to < $DATE_TO_QUERY
    How to get this kind of query .
    Please help. ( Table structure for table a and audit table aud_a and trigger aud_tg_a given below)
    Giving code as follows.
    main table a
    create table a
    ( val1 number,
    val2 number,
    update_by varchar2(30),
    date_updated date);
    creare auidt table aud_a
    create table aud_a
    ( "AUDIT_SEQ" NUMBER,
    "AUDIT_TRAN_ID" NUMBER,
    "AUDIT_PROG_ID" VARCHAR2(30 BYTE),
    "AUDIT_TERMINAL" VARCHAR2(16 BYTE),
    "AUDIT_REASON" VARCHAR2(30 BYTE),
    "AUDIT_ACTION" CHAR(1 BYTE),
    "AUDIT_ACTION_BY" VARCHAR2(20 BYTE),
    "AUDIT_ACTION_DT" DATE,
    val1 number,
    val2 number,
    updated_by varchar2(30),
    date_updated date);
    trigger on  table a to populate aud_a
    CREATE OR REPLACE TRIGGER aud_tg_a AFTER
    INSERT OR
    DELETE OR
    update on a
    for each row
    declare
    v_time_now DATE;
    v_terminal VARCHAR2(16);
    v_tran_id NUMBER;
    v_prog_id VARCHAR2(30);
    V_reason VARCHAR2(30);
    BEGIN
    v_time_now := sysdate;
    v_terminal := userenv('TERMINAL');
    v_tran_id := 1;
    v_prog_id := 'test';
    v_reason := 'AUDIT';
    IF inserting THEN
    INSERT
    INTO a
    audit_seq,
    AUDIT_tran_id,
    AUDIT_prog_id,
    AUDIT_reason,
    AUDIT_terminal,
    AUDIT_action_by,
    AUDIT_action_dt,
    AUDIT_action ,
    val1,
    val2,
    updated_by,
    date_updated
    VALUES
    s_audit_no.nextval,
    v_tran_id,
    v_prog_id,
    v_reason,
    v_terminal,
    USER,
    v_time_now,
    'I' ,
    :new.val1,
    :new.val2,
    :new.updated_by,
    :new.date_updated
    elsif deleting THEN
    INSERT
    INTO a
    audit_seq,
    AUDIT_tran_id,
    AUDIT_prog_id,
    AUDIT_reason,
    AUDIT_terminal,
    AUDIT_action_by,
    AUDIT_action_dt,
    AUDIT_action ,
    us_agy_backed_id,
    industry_subgroup,
    comments,
    updated_by,
    date_updated
    VALUES
    s_audit_no.nextval,
    v_tran_id,
    v_prog_id,
    v_reason,
    v_terminal,
    USER,
    v_time_now,
    'D' ,
    :old.val1,
    :old.val2,
    :old.comments,
    :old.updated_by,
    :old.date_updated
    elsif updating THEN
    INSERT
    INTO a
    audit_seq,
    AUDIT_tran_id,
    AUDIT_prog_id,
    AUDIT_reason,
    AUDIT_terminal,
    AUDIT_action_by,
    AUDIT_action_dt,
    AUDIT_action ,
    us_agy_backed_id,
    industry_subgroup,
    comments,
    updated_by,
    date_updated
    VALUES
    s_audit_no.nextval,
    v_tran_id,
    v_prog_id,
    v_reason,
    v_terminal,
    USER,
    v_time_now,
    'U' ,
    :new.val1,
    :new.val2,
    :new.updated_by,
    :new.date_updated
    END IF;
    END;
    -------------------------

    Hi hoek,
    I am not able to use Oracle's audit functionality becuase I need to trap some changes in particular tables and then rebuild query if required.
    Thanks for your suggestion though.
    Regards,
    Milind

  • Populate 1 table based on another table

    I have a "VISITOR_TRACKER" application with the following 2 tables:
    VISITORS (table)
    VISITOR_ID (pk)
    F_NAME
    L_NAME
    VISITOR_DETAILS (table)
    V_DETAILS_ID (pk)
    V_TIME_IN
    V_DESTINATION
    I want to do the following:
    1. The visitor types in his/her last name in a search box.
    2. Everyone with that last name shows up in either a report or a drop-down select list. The visitor selects his/her name.
    3. A form "displays only" the name selected and has 2 text fields for the customer to enter their DESTINATION and TIME_IN and presses the submit button.
    How do I set this up? The problem I'm encountering is that if I create a form w/report off of the VISITORS table, I'm unable to populate the DESTINATION and TIME-IN because the F_NAME and L_NAME from the VISITORS table is already popluted - it is trying to populate twice.
    I tried basing the form w/report off of the VISITOR_DETAILS table but my report shows only the names that have any records in VISITOR_DETAILS. Also, the form shows the details of the VISITOR_DETAILS record that was selected.
    My report query looks like this:
    select "VISITOR_DETAILS"."V_DETAILS_ID" as "V_DETAILS_ID",
    "VISITOR_DETAILS"."VISITOR_ID_LU" as "VISITOR_ID_LU",
    "VISITORS"."F_NAME" || ' ' || "VISITORS"."L_NAME" as "NAME"
    from "VISITOR_DETAILS" "VISITOR_DETAILS",
    "VISITORS" "VISITORS"
    where "VISITOR_ID_LU" = "VISITOR_ID"
    I prefer to have a drop-down select list instead of a report if possible.
    Please help! I have been working HOURS on this?

    if you only want a duplicat of the structure and don't worry about constraints, indexes, triggers etc you could use something like this
    create table emp_dup as
    select * from emp
    where 1=0;Another more flexible way is to use the package DBMS_METADATA
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_metada.htm#ARPLS026

  • Filter query based on a value from a drop down menu

    I am using ADFBC/JDev 10.1.3/ADF-faces (JSPX)
    I would like to display a table of data based on a view object and have a drop down menu of values that the user can select from which would filter the table of data. The filter would be applied to a field in the VO. For example, have a JSPX page that shows all employees and have a drop down menu that filters the employees by a specific department with an option to show all departments too in the drop down. I'm not sure if Steve Muench's example #76 (http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html) would serve as a basis for this requirement or not.
    Can anybody give me high level guidance on how to do this? Both declaratively and programmatically would be great.
    Thanks,
    Quoc

    I can't get the JSPX page to display the correct data. It's displaying the entire VO and when you try to select Yes or No or All from the drop down menu, it just changes the Active Flag column in the table to whatever you select for the first row only and still displays the rest of the rows in the VO.
    Here's my JSPX code:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
              xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <afh:html>
          <afh:head title="showEmployees">
            <meta http-equiv="Content-Type"
                  content="text/html; charset=windows-1252"/>
          </afh:head>
          <afh:body>
            <af:messages/>
            <h:form>
              <af:panelForm>
                <af:selectOneChoice value="#{bindings['bind_active_flag1'].inputValue}"
                                    label="#{bindings['bind_active_flag1'].label}">
                  <f:selectItems value="#{bindings['bind_active_flag1'].items}"/>
                </af:selectOneChoice>
                <af:commandButton actionListener="#{bindings.ExecuteWithParams.execute}"
                                  text="ExecuteWithParams"
                                  disabled="#{!bindings.ExecuteWithParams.enabled}"/>
              </af:panelForm>
              <af:table value="#{bindings.EmployeesView.collectionModel}" var="row"
                        rows="#{bindings.EmployeesView.rangeSize}"
                        first="#{bindings.EmployeesView.rangeStart}"
                        emptyText="#{bindings.EmployeesView.viewable ? 'No rows yet.' : 'Access Denied.'}">
                <af:column sortProperty="EmployeeId" sortable="true"
                           headerText="#{bindings.EmployeesView.labels.EmployeeId}">
                  <af:outputText value="#{row.EmployeeId}">
                    <f:convertNumber groupingUsed="false"
                                     pattern="#{bindings.EmployeesView.formats.EmployeeId}"/>
                  </af:outputText>
                </af:column>
                <af:column sortProperty="FirstName" sortable="true"
                           headerText="#{bindings.EmployeesView.labels.FirstName}">
                  <af:outputText value="#{row.FirstName}"/>
                </af:column>
                <af:column sortProperty="LastName" sortable="true"
                           headerText="#{bindings.EmployeesView.labels.LastName}">
                  <af:outputText value="#{row.LastName}"/>
                </af:column>
                <af:column sortProperty="ActiveFlag" sortable="true"
                           headerText="#{bindings.EmployeesView.labels.ActiveFlag}">
                  <af:outputText value="#{row.ActiveFlag}"/>
                </af:column>
              </af:table>
            </h:form>
          </afh:body>
        </afh:html>
      </f:view>
    </jsp:root>Here's the bindings page:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="10.1.3.41.57" id="showEmployeesPageDef"
                    Package="view.pageDefs"
                    MsgBundleClass="view.pageDefs.showEmployeesPageDefMsgBundle">
      <parameters/>
      <executables>
        <iterator id="EmployeesViewIterator" RangeSize="10" Binds="EmployeesView"
                  DataControl="AppModuleDataControl"/>
        <variableIterator id="variables">
          <variableUsage DataControl="AppModuleDataControl"
                         Binds="EmployeesView.variablesMap.bind_active_flag"
                         Name="EmployeesView_bind_active_flag" IsQueriable="false"/>
        </variableIterator>
        <iterator id="DropDownIterator" RangeSize="-1" Binds="DropDown"
                  DataControl="AppModuleDataControl"/>
      </executables>
      <bindings>
        <table id="EmployeesView" IterBinding="EmployeesViewIterator">
          <AttrNames>
            <Item Value="EmployeeId"/>
            <Item Value="FirstName"/>
            <Item Value="LastName"/>
            <Item Value="Email"/>
            <Item Value="PhoneNumber"/>
            <Item Value="HireDate"/>
            <Item Value="JobId"/>
            <Item Value="Salary"/>
            <Item Value="CommissionPct"/>
            <Item Value="ManagerId"/>
            <Item Value="DepartmentId"/>
            <Item Value="ActiveFlag"/>
          </AttrNames>
        </table>
        <action id="ExecuteWithParams" IterBinding="EmployeesViewIterator"
                InstanceName="AppModuleDataControl.EmployeesView"
                DataControl="AppModuleDataControl" RequiresUpdateModel="true"
                Action="95">
          <NamedData NDName="bind_active_flag" NDType="java.lang.String"
                     NDValue="${bindings.EmployeesView_bind_active_flag}"/>
        </action>
        <attributeValues id="bind_active_flag" IterBinding="variables">
          <AttrNames>
            <Item Value="EmployeesView_bind_active_flag"/>
          </AttrNames>
        </attributeValues>
        <list id="bind_active_flag1" IterBinding="EmployeesViewIterator" StaticList="false"
              ListOperMode="0" ListIter="DropDownIterator" NullValueFlag="1"
              NullValueId="bind_active_flag1_null">
          <AttrNames>
            <Item Value="ActiveFlag"/>
          </AttrNames>
          <ListAttrNames>
            <Item Value="Value"/>
          </ListAttrNames>
          <ListDisplayAttrNames>
            <Item Value="Description"/>
          </ListDisplayAttrNames>
        </list>
      </bindings>
    </pageDefinition>Any ideas?

  • Snapshot query based on local table...

    Can anyone help me determine the proper syntax for a snapshot query that will pull records based on an previously sync'ed table? In other words I want to get a subset of data into table2 based on what was just sync'ed into table1, where the table1 snapshot contained a where clause with a :parameter.
    I thought the query would look something like this:
    select * from SERVER_SCHEMA.table2
    where
    column1 In (select column1 from &WTG_SCHEMA..table1);
    but I get an error when I try to sync. table1 has a weight of 10 and table2 has a weight of 20.
    TIA,
    Scott

    use the snapshot SQL you used for the first table in the snapshot SQL for the 2nd table.
    ie.
    1st TABLE snapshot
    select * from employees e where e.salary > 1
    2nd table snapshot
    select * from departments d where d.dept_id IN (
    select distinct e.dept_id from employees e where e.salary > 1)
    OR
    select d.*
    from departments d, employees e
    where d.dept_id = e.dept_id
    and e.salary > 1

  • BW 3.5: Filter Characteristic based on another Characteristic

    Hi guys, I need your help.
    I have created one query. In this query, there is 2 characteristic in filter condition. The first one is Consolidation Group (single variable and input come from user) and the second is partner unit (hardcode/ constant : A500, A700, A710, A720, A730, A740). The problem is user want dynamic filter condition for Partner Unit.
    So I need to change the filter condition for this characteristic.User want this condition happen:
    - If user input Consolidation Group = '10000' then partner unit will be filtered by : 'A500', 'A700'
    - If user input Consolidation Group = '10130' then partner unit will be filtered by : 'A710','A720'
    - If user input Consolidation Group =  '10140' then partner unit will be filtered by : 'A730','A740'
    When user want this condition happen, I think I must use hierarchy because there is possibility to add another partner unit in consolidation group (example: If user add partner unit 'A800' in consolidation group '10000' (in SAP system) then partner unit will be filtered automatically with 'A500', 'A700', and 'A800').
    My question is:
    1. Where do I need to create hierarchy? On characteristic Consolidation Group or Partner Unit?Because both infoobject don't have any hierarchy at all
    2. How to create dynamic hierarchy filter condition? Because in this problem, static hierarchy filter condition can't solve the problem. What i mean dynamic in here is when user input consolidation group 10000 then Partner Unit will be restricted to node Cons Group 10000 and so on... 
    Thank you and Regards,
    Satria

    Hi Satria,
               If you use customer exit variable for partner. it may help you.
    Please check here.....
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    Customer Exit for Query Variable
    http://help.sap.com/saphelp_nw70/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/content.htm
    http://sapbwneelam.blogspot.com/2007/10/how-to-create-populate-user-exit.html
    http://www.scribd.com/doc/7477843/Five-Ways-to-Enhance-SAP-BI-Backend-Functionality-Using-ABAP
    http://www.erpgenie.com/bw--km/1097-sap-bw-query-user-exit-rsr00001
    Thnaks,
    Vijay.

  • Deleting rows from one table while filter condition lies into another table

    Hi All,
    I'm facing a problem deleting a row from a table where the condition lies in other table. To ealaborate the scenario further let's say I have two table T1 (transaction table) and T2 (Master Table). I want to delete a record from table T1 by checking some conditions lies in table T2.
    I tried with the below query but this query deleting records from both the table.
    DELETE FROM ( SELECT * FROM T1 top INNER JOIN T2 tp
    ON top.TID = tp.TID
    WHERE top.DEAL_SITE_ID = inputparameter1
    AND (TP.SEGMENT <>inputparameter2 OR tp.segment is not null));
    Here the record is getting deleted from both the tables but I don't want to delete data from my master table i.e table T2.
    Any help would be highly appreciated. Thanks in advance.
    Regards,
    Subhadeep

    SQL> select *
      2   from the_table;
    X          Y
    AA         a
    BB         a
    CC         a
    AA         b
    DD         b
    SQL> select *
      2   from the_table_2;
    X          Y
    AA         a
    BB         a
    CC         a
    SQL>  delete from
      2  (
      3  select *
      4  from the_table  t1 inner join the_table_2 t2
      5  on  t1.x = t2.x
      6  and t1.y = t2.y);
    3 rows deleted.
    SQL> select *
      2   from the_table;
    X          Y
    AA         b
    DD         b
    SQL> select *
      2   from the_table_2;
    X          Y
    AA         a
    BB         a
    CC         a

  • How to load one filter values based on another filter selection

    Hi,
    I have a Query/Report that contains the following filters
    Product Family
    Product Line
    Product
    all the above InfoObjects are independent, now i need a functionality where in if i select a Product Family then all the Product Line belonging to that Product Family should get loaded in the filter selection, same way when a Product Line is selected the all the Products under that Product Line should get loaded ni Products filter.
    Please let me know how this functionality can be achived.
    Thanks
    Akila. R

    Hi Akila,
    I am assuming you query runs on a cube that loads data from the source system. In that case cube will contain only valid cobminations of Product Family & Product Line.
    In order to make sure that if a cetain Product Family is chosen you want to see only the relevant Product Line as available in the cube do the following:
    Go to Query Designer Filter
    Pick Product Family > Properties> Advanced. Under the Tab Filter Value Selection during Query Execution choose 'Only Values in InfoProvider'
    Do the same setting for Product Line as well.
    Hope this helps.
    Regards,
    Amrita
    Edited by: Amrita Goswami on Jun 23, 2009 7:26 AM

  • Data from another table, to be displayed on table based screen

    I have a block that is based on one table, if I found the record(s) on that table I will display it on the forms, No Problemo. But, if record(s) was not in the said table, I have to get the data on another table and then display it on the same forms. Is there someone who can show me how I can get the data from another table and display it on screen that is based on another table?

    suppose you have 2 table emp_n and emp with same table structure
    first check data from emp_n if not found then go to emp
    try it:-
    you will change block name at run time(query data source)
    by
    emp_n is old
    emp is new
    set_block_property('emp_n',QUERY_DATA_SOURCE_NAME,'emp');
    if no data found in emp_n table then
    change the block query name by
    set_block_property('emp_n',QUERY_DATA_SOURCE_NAME,'emp');
    in next try it will go to emp table for fetching record
    kuljeet pal singh

  • How to Fill list in excel based on another columns cell value

    Hello,
    I am facing issue while binding data to list i want to bind list or filter list based on another columns cell value

    If your list is a series of rows with column headers like the following:
    Column A
    Column B
    1
    Apple
    1
    Banana
    1
    Orange
    2
    Pineapple
    2
    Cucumber
    2
    Watermelon
    Then you can do this will Excel's built in filter functions. If you select the entire data table and then go to "DATA" then click the "FILTER" button a drop down will appear next to both headers (Column A and Column B in this case). You
    can then select the data you would like filtered from either column and Excel will hide that entire row.
    If this is not what you are looking for please post some examples of what you are trying to see.

  • To make the query more efficient (create table wiht select command)

    Hi,
    I have written this query to create another table, but it takes approx two hours while both tables are indexed with 891353, 769023, i have used the following query.
    create table source1 as select a.idx, a.source from tt a where a.idx not in (select b.idx from ttt b)
    thanks

    Try this one if you're on oracle 8i or older
    create table source1 as
      select a.idx, a.source
        from tt a
       where not exists (select null from ttt b where a.idx = b.idx)

  • Filter based on another analysis need to run as a seperate query obiee 11g

    Hi,
    I have a main report which has a filter condition that depends on the another request(Created through Filter based on another analysis).The Filter based on another analysis report query comes as a embedded query along with the main query (making a subquery).As it has a subquery it is taking more time to fetch data.
    Is there any possiblity of running the Filter based on another analysis report as a seperate query.
    Please suggest.
    Thanks,
    Soukath

    Hi,
    Make sure one thing,u have eanble check box and submit sql button in the bottom of Advanced tab then save it and try again it will work.
    refer:
    http://tipsonobiee.blogspot.com/2009/06/step-by-step-to-bypass-all-caches.html
    Thanks
    Deva
    Edited by: Devarasu on Dec 19, 2011 11:59 AM

Maybe you are looking for

  • Database table problem

    hi expert, I have one expert routine with insert command in it. While DTP are running I change the status request to green, but after that I run again and the system can not insert record to database table. I wait for along time and system can perfor

  • How to Create a New Admin Account and Change Original to Standard Account?

    I have a single user admin account that I set up when I got my PowerBook. Now I want to have two accounts with the new one being the admin account. This way I can leave most of the data files, email accounts, etc. with the old account and use the new

  • HT4859 The photos have disappeared from my iPad

    Any ideas where all my photos have gone, the ones I transferred from my pc and the ones I have taken on the iPad?

  • Interactive PDF Slideshow

    I am using Adobe CS4 and am making my portfolio interative. I have more then one "Folders" button that each have their own category. I want to be able to click on them, and open up on Page 2 with the first image. Then on Page 2 i have "Previous" "Nex

  • Muvo^2 FM 5gb [tells me i havnt safely removed so i have to scan disk everyti

    firstly.. i plug my muvo ^2 in .. and then safely remove it.. and every so often now.. it says i havnt safely removedit so i have to scandisk it now. so i go and scandiskit .. and then next time it loads finje then the next tinem i plug it in .. and