Splitting a Worksheet with Filter

Hi there,
I currently have a worksheet which is updated frequently that contains four columns: NAME, LOCATION, and INDUSTRY, SALARY.
NAME is unique.
LOCATION can take the value of Canada, Germany, UK, and US.
INDUSTRY can take the value of Finances, Production, or Sales.
SALARAY is simply a number.
I would like to create another worksheet using this data and I assume I'll be using filters.
For example, I'd like to create a tab/worksheet called 'NA Management' which takes all rows that have either Canada or US for LOCATION and either Finances of Sales for INDUSTRY. I would like the solution to reference the original worksheet as it will be updated
often (preventing copy/pasting each time).
Any thoughts? Thanks!

Hi,
Based on your description, you can try to use T-SQL query to achieve this. Open an Excel file, click Data->Existing connections->Click the 'Browser for More' button, then select the Excel file ->Select worksheet, click OK, you will get
a table/Pivot Table in the worksheet.
Then On the Data tab, in the Connections group, click Connections->Properties->Definition->Write a SQL query like below to the command text box.
select * from [Sheet1$]
where LOCATION in ('Canada','US') and INDUSTRY='Finances of Sales'
If I misunderstand you, please let me know and you can share the Excel file with us.
Wind Zhang
TechNet Community Support

Similar Messages

  • F-32: document Splitting generates lines with alternating +/-signs

    Hi Sap Guru,
    While clearing the Customer in F-32, user is getting  error as document Splitting generates lines with alternating +/-signs. It is happening only for few customers.
    Please advice me what could be the reason for the same.
    Thanks,
    Manya

    Hi
    Could you explain what the entrie it is generating (you can simulate and observe) and for which accounts it is behaving ubnormal.
    with regards
    siva

  • Creating Worksheets with Fill-In Form Fields

    What is the best application for creating worksheets with fill-in form fields?  The worksheets will be emailed to my clients for completion.  Once completed they need to be able to save them to their computer and/or email them back to me.  What application will they have to have in order to fill in and save the PDF?

    In short, you will need Acrobat to create the forms. They only need the free Reader to fill them in and save them.

  • Open a discoverer worksheet with parameter

    Hi
    I'm trying to open discoverer worksheet
    If the worksheet have no parameter we can open it with
    http://server/discoverer/viewer?cn=connid&event=openWorksheet&wsk=worksheet1
    but if i want to open a worksheet with parameter i want to pass the parameterfrom some of the tutrioals i found we can pass parameter like this
    http://server/discoverer/viewer?cn=connid&event=openWorksheet&wsk=worksheet1&qp_12=101015
    but its redirecting to parameter entring page
    can any one find a soultion for this
    thanks in advance

    Pl do not revive old threads with the same question over and over again - I have locked those threads.
    By-passing Oracle Discoverer 10.1.2.48.18 Authentication
    Discoverer URL - Hide password without having to use public connection
    Adding url parameters to discoverer report
    Srini

  • OBIEE 11g - Aggregation With filter

    Hi all ,
    I have a reg where the condition to be applied in ONE COLUMN of a report is as follows
    select count(*)
    from (SELECT SUM(quantity),SUM(quantity_received) qty_rec ,SUM(quantity)-SUM(quantity_received) qty ,po_header_id
          FROM F_ERP_PO
          group by po_header_id)
    where qty > 0
      and qty_rec <> 0     
    .. I  have multiple columns in the reports with varying conditions
    I tried out in different ways but could not bring the answer since this condition is just ofr one column and the next column has other conditions.
    Kindly help me in simplifying this report . I am stuck with it for long
    Thanks in advance,
    Regards,
    Niv d

    Hi Chris,
    Thanks for ur response.
    I tried usinf FILTER() function in different ways. But I had a comparison like
    FILTER("F1 Facts"."Total Revenue" USING (sum("PO"."Quantity") = sum("PO"."Quantity_Recieved") )) .
    Here the error is like Cannot use aggregation with the USING clause .
    I even tried with, Filter based on another request feature , it throws an error saying 'cannot use multiple select clause '
    Any suggestions would be very helpful.
    Regards,
    Niv D

  • Document splitting generates lines with alternating +/- signs

    Hi,
    While trying to post GR through MIRO, I am getting a message like "Document splitting generates lines with alternating +/- signs", please clarify why this error is coming.
    But I am able to post the moment I am deleting a small amount from planned delivery cost field. Why this is happening, can anyone explain pls.
    Regards,
    Ab

    Hi
    We have the same message but we want to clear two FI invoices
    Did you ever find out what caused this message?
    Regards
    Paddi

  • Grant select role with filter ?

    hi,
    is it possible to Grant select with filter to a role, for example,
    user should select where ename='smith'

    I guess you may want something similar to VPD

  • How to use aggregator with filter  operator

    Hi,
    how can i use aggregation with filter operator. i have a table, form this table i have to calculate this valurs
    1. no of notes
    2. no of open notes where attribute =y (logic for one notes is count(notes) where attribute =y)
    2. no of closed notes where attribute =n
    for this i used like this
    table --> two filter operators 1 is for attribute =y and one is for attribute=n ----> to aggregaror operator. --- i am getting error.
    Regards,
    Jyothy

    Jyothy,
    Try this..
    U can use the below code in the aggregator without filters
    sum(decode(notes,'y',1,0) adn sum(decode(notes,'n',1,0)
    Regards,
    Sivarama

  • Af:table with filter option

    Hi,
    I have a bounded task flow with page-fragments, first activity is method-call(execute-query) and second is a view activity. On the view activity I dropped a read-only, af:table, enabled filters. Although execute query is successful af:table does not display correct records. When I delete af:table and add it again with no filter everything works as expected (also deleted the search region definition from page def file). af:table with filter option adds a search region to executable section of page-definition file, with Empty Criteria in my case. I want af:table to display results after execute-query method activity and decorate the af:table with filters. Filter would be enabled only when users enter filter criteria. Is that possible? Am I missing something?
    Best Regards,
    Salim

    Hi,
    I found new problems with my case. When we use filter option with af:table filter criteria is not cleared. Forum search returned Re: Problem with 11g table - filter . Suppose that user enters a criteria and presses enter, this executes query and results are displayed as expected. Then user clears the previously entered criteria presses enter o display all records, and no results are displayed. Looking at the trace for a testcase based on HR schema, I observed that all the bind variables in the query is saved and passivated, Please observe that for every new criteria entry (for the same field, Emp.ENAME) a SQL clause is added at the end. Although one might expect that all the criteria related to af:table filter is cleared and rebuilded for every request rather than saving them all, which results in bad end user experience. So is there a way to go with af:table with filter? Am I missing something?
    Best Regards,
    Salim
    SELECT Emp.EMPNO,        
         Emp.ENAME,        
         Emp.JOB,        
         Emp.MGR,        
         Emp.HIREDATE,        
         Emp.SAL,        
         Emp.COMM,        
         Emp.DEPTNO,        
         Dept.DNAME,        
         Dept.DEPTNO AS DEPTNO1
         FROM EMP Emp, DEPT Dept
    WHERE Emp.DEPTNO = Dept.DEPTNO(+)
         AND ( ( ( ( ( Emp.ENAME LIKE :vc_temp_1  )  OR  ( :vc_temp_1 IS NULL ) ) )  AND ( ( ( Emp.EMPNO = :vc_temp_2  )  OR  ( :vc_temp_2 IS NULL ) ) )  AND ( ( ( Emp.ENAME LIKE :vc_temp_3  )  OR  ( :vc_temp_3 IS NULL ) ) )  AND ( ( ( Emp.ENAME LIKE :vc_temp_4  )  OR  ( :vc_temp_4 IS NULL ) ) )  AND ( ( ( Emp.ENAME LIKE :vc_temp_5  )  OR  ( :vc_temp_5 IS NULL ) ) ) ) )Bind params for ViewObject: EmpView2
    [18615] Binding param "vc_temp_1": M%
    [18616] Binding param "vc_temp_2": 8
    [18617] Binding param "vc_temp_3": A%
    [18618] Binding param "vc_temp_4": M%
    [18619] Binding param "vc_temp_5": M%

  • How to split a string with linefeed character ( LF ) as a delimiter in VB6?

    Hi. I am writing a small program in VB 6.0. 
    I have a string named Data and it contains few characters along with <LF> in it. ( <LF> is a new line/line feed character).
    I want to split this string with <LF> as delimiter and store the tokens in an array. I tried with split function and its giving me type mismatch error. Can anyone tell me how to do it?
    I am giving the pseudo-code below.
    Dim Data as string
    Data = "hello, how are you<LS>good morning guys <LS> hi"
    Dim strarray() as stringMsgbox(Data)
    strarray = split(Data, "<LS>")
    When i see the Data in message box before split function, it shows up in different lines like this:
    hello, how are you
    good morning   guys 
    hi
    I want the final array strarray to be like this:   strarray(0) = "hello, how are you"
    strarray(1) = "good morning   guys "
    strarray(2)  = " hi"
    The spaces can be as it is. Just i need the string to be delimited wherever <LS> is there.
    Please help me as soon as possible. Though it is small one, i am stuck here.
    Thanks in advance,
    Satya.

    Hello,
    This forum is for VB.NET, please check the following resources
    http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b/where-to-post-your-vb-6-questions?forum=vbgeneral
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • How to split a string with regular expression

    Hi.
    I need to split a string with a regular expression.
    Example
    String = "this is; a test";rune haavik;12345;
    And I want the output to be:
    "this is; a test"
    rune haavik
    12345
    If I use this code:
    private void test1()
    String str = "\"this is; a test\";rune haavik;12345;";
    int i=0;
    String[] tmp = str.split(";");
    while(i<tmp.length)
    System.out.println(tmp);
    i++;
    Then it splits also in the "" text.
    Regards
    Rune haavik

    Rune haavik:
    The most effective way to achieve the end result is, I believe, to read the characters one by one, using a flag that indicates if we are inside quotation or not.
    Well, if we are in a mind game, then the following should do.
           String[] tmp = str.split(";(?![^\"]*\";)");

  • Can I create a worksheet with "union" or subquery in my SQL?

    I tried to create a worksheet with a SQL contains "union" and sub-query, but the Discoverer doesn't seem to support that.
    Can anyone help?
    Fiona

    Hi,
    You cannot union folders together in a workbook. If you really need to use UNIONs (and often there are alternatives) then you can put your UNION SQL in a custom folder using Discoverer Administrator or create a view at the database level.
    Rod West

  • Difference between CQC vs MapListener with Filter

    Can someone please explain how is a  Continuous Query Cache(CQC) different than a MapListener with a filter?
    On the same note, please elaborate on use cases where CQC is a right-fit vs MapListener (with filter)?
    Thanks in advance.

    Using listeners (with or without filters) is a way to react over data changes in the client application, allowing it to invoke actions in response of some changes. The basic idea is in the end, execute custom code based on the events, instead of manipulate the dataset.
    CQC in the other hand is a technique to materialize a keySet() in the client application in a such way that this keySet() is continuously updated automatically by Coherence, based on the delta of which resides in the client application and in the data grid storage. When you materialize a keySet() in the client application, the list of keys are stored continuously in the application heap memory, and grows at the same pace that the data grid grows, considering of course that the filter criteria has been satisfied.
    So the basic difference is the statefulness of the scenario: using CQC, you have the whole window of keySet() to work with, using listeners, the only keySet() available to work with is that of the current event triggering, after that they are disposed. Some CEP implementations like Oracle Event Processing should benefit of materialized keySets() in order to apply event constructions like temporal constraints, for instance: SELECT someData FROM eventChannel RANGE 60 MINUTES SLIDE 5 SECONDS.
    Cheers,
    Ricardo Ferreira

  • Does Split x2 come with an active digitizer screen?

    Hi,
    Does anyone know whether or not Split x2 comes with an active digitizer screen?

    Accordiong to HPAnswers in Bestbuy.com, it dose support stylus:
    This HP PC comes standard with hand writing recognition software, which is included with the Microsoft Windows 8 Operating System. You can also use a stylus with any of our touchscreen PCs.
    http://reviews.bestbuy.com/answers/3545mha/content/popup.htm?bvpage=http%3A%2F%2Freviews.bestbuy.com...

  • Trace with Filter

    Hi,
    I have a report Z_MA_TEST including a simple sql statement (open sql).
    I want to trace this to see what happends.
    When I Activate Trace With Filter (OK)
    Provide USERNAME = MYUSERNAME
    When I Activate Trace With Filter (<b>Trace file empty??</b>)
    Provide USERNAME = MYUSERNAME
    Provide PROGRAMNAME =       Z_MA_TEST
    Why cant I trace with my program name ?
    //Martin

    Hi Martin,
    I used your example with A004.
    I activated the trace on with filter in ST05.
    Checked all the checkboxes.
    Gave User name and program name in 'Trace on for user' option.
    Ran the program.
    Switched the trace off.
    I got some trace as follows.
    Transaction = SE38                 PID =    24768 P type  DIA Client = 040 User = SADAVI        
    HH:MM:SS.MS  Duration  Program  ObjectName Op.     Curs Array Rec   RC     Conn  Statement      
    11:19:59.947    11,414 SAPLSECU TSL1D      READ SI                1      0       R 3 AUW        
    11:19:59.962        22 ZTESTAKX A004       OPEN                   0      0       R 3 040        
    11:19:59.962        27 ZTESTAKX A004       FETCH                  1      0                      
    11:19:59.963        20 SAPLOMCV TMCNV      READ SI                1      0       R 11 040MATCONV
    11:19:59.963        32 ZTESTAKX A004       FETCH                  0     64                      
    11:19:59.963         7 ZTESTAKX A004       CLOSE                  0      0                      
    So I am not sure if this what you are also getting, whereas you are expecting more.
    Please let us know.
    Thanks,
    Srinivas

Maybe you are looking for

  • As the Administrator Flash won't work, as another user Flash works

    I have an HP with XP home edition SP2. I'm set up as the administrator and my son is set up as an user. I'm running Flash 9.0.115 and generally have no problems. My son goes to the Webkinz website and logs on and plays the games and has no problems.

  • Display error in SSAS

    Hi Everyone, I'm using a SQL Server Analysis service(2012) to do a data mining test on my own computer. I tried Microsoft clustering algorithm using a view named vTargetMail in AdventureWorkDW DB. At the beginning, I chose English Education, age, and

  • SAP_CCMS_MONI_BATCH_DP getting cancelled with error in program SAPLSPFL

    Hi Experts, The job SAP_CCMS_MONI_BATCH_DP scheduled by user DDIC is getting cancelled everyday at 20:00 CET (system time). The reason for the job getting cancelled with the runtime error Syntax error in program SAPLSPFL  and a short dump is generate

  • Primavera P6 v8 Announced

    http://www.oracle.com/us/corporate/press/173778 Does the following paragraph imply no windows client application (ie web only?) - Now, as a 100 percent Web-based PPM solution, Primavera P6 Enterprise Project Portfolio Management 8 enables faster adop

  • Why does my iphone keep saying your apple id has been disabled

    whenever i try to update or download apps a littl ebox pops up an dit says thta my apple  id has been disbled how do i fix