MATCH function support

Hi
I am having problems with the match function
Basically I am using it to find the first and last position of a value in a range.
=MATCH(B1,D5:D30,0)
works fine to return the first value, but
=MATCH(B1,D5:D30,1)
to find the last value only works in the spreadsheet, not in the SWF.
Anyone got any ideas?

Ok, just be aware that countif can be a hit on performance so I would recommend only using it on small data sets.
As for who to request this, thats a good question, you could raise a ticket with SAP via your Account rep, but other than placing the issue on here, I really don't know
I'll check version 5.2 and 5.3 this evening an post the results on here.  Which version are you using?
Edit:
Version 5.2.0 and 5.3.0 have the same behaviour.
Edited by: Charles Davies on Feb 1, 2010 6:36 PM

Similar Messages

  • How to find out what are the functions supported by string class

    Hi,
    Can any one let me know how to find what are all the functions supported by the string class in standard(STL) library on solaris.
    Regards,
    Vignesh

    1. Any C++ textbook that covers the Standard Library will tell you about the standard string class. A good tutorial and reference for the entire Standard Library is "The C++ Standard Library" by Nicolai Josuttis, published by Addison Wesley.
    2. WIth Sun C++, the command
    man -s3C++ basic_string
    provides documentation for the default libCstd version of the Standard Library.
    3. You could look at the <string> header itself. I don't recommend that approach.

  • SQL Functions Supported by RDBMS Adapter

    Hi,
    Where can I find the list of SQL Functions supported by RDBMS Adapter?
    I am retrieving date from Oracle 9i using RDBMS Adapter 8.1 SP2.However when I use any SQL Function (like to_char, to_date) in select query the service creation fails with a parsing exception.
    Please help me resolving this.I want a date to be selected as a string in a particular format.
    Thanks,
    Vishvjit

    Sorry,just got the resolution in Known Limitations of the adapter Release Notes. Actually we have to create a service of arbitory sql for using SQL Functions in the query.

  • Using Match function in FR Reports

    Hi,
    Can anyone pls. let me know how i can use Match function in FR ? I've a Report where i'm using 2 Grids. In one Grid1 i'm using Entity under page and ICP dimension as Column. In Grid2, i'm using ICP under page and would like to use Match function where the condition is, if i select ICP member from Page, it should show the corresponding Entities in Grid1
    Thanks,
    PVR

    I don't think what your trying to do is available "out of the box", we have used a workaround to do what you want:
    - include idescendants for the member but apply suppression on the member names that ended in rollup.
    (we were lucky in that the parent members were standardized to contain rollup as the description name).
    Cheers, Iain

  • Does the Timer() function support multithread?

    Hello,
    In my application, there would be more than 1000 conversations to be monitored. I am going to design a woker thread for each conversation to determine the timeout of the communication, so I must using the timer mechanism. Due to just can create (max )16 async timers, so I want to use Timer() in the worker thread. I'd like to know if the function support multithread and if it will not be disturbed in a thread?
    David

    Hi David,
    The 'timer' used by the Timer() function is global and not thread specific. Note that Timer() returns the number of seconds elapsed since the FIRST call to the Timer() function. This is independent of the thread where the FIRST and current calls take place. So, the values returned are kind of a global 'time' since the first Timer() call in your program. I would recommend that you FIRST call Timer() in your main thread before running your other threads and then the other values returned in any thread are the 'seconds' since this call.

  • DB Functions Supported in UNX

    Are DB Functions supported in UNX universes? We are on BI4.1 SP3 and trying to use an Oracle DB function that will return a numeric field based on the user who is logged into Business Objects:
    OWOD_DW.GET_BUDGET(@Variable('BOUSER'))
    The GET_BUDGET is an Oracle DB function that expects the user id, checks the budget amount field in db table, and returns budget amount and sets it to Budget object in universe.
    We have UNV universes that call Oracle DB functions, for example calculating number of working days. The processing is done on DB side and returns number of days and continue to work fine...
    Thank you for your time.
    ~Molly

    Thank you both for your answers!
    @Odie_63: Your sample worked for me, as well. I was able to find the root cause of why my statement had not worked: I was using a wrong path. Interestingly enough though, the correct result was returned if I did not use a function in the path, so it masked the root problem.
    sample XML document (shortened) : <ObjectEvent>
      <action>ADD</action>
    </ObjectEvent>correct path:SQL> SELECT EVENT_ID, ACTION   FROM EVENTSCHEMA.event x,     XMLTABLE ('/*' passing EVENTXMLTEXT
                     COLUMNS                
                            ACTION  VARCHAR(10)  PATH  'action'
      EVENT_ID ACTION
          1004 ADDwrong path, but still works:SQL> SELECT EVENT_ID, ACTION   FROM EVENTSCHEMA.event x,    XMLTABLE ('/*' passing EVENTXMLTEXT
                     COLUMNS                
                            ACTION  VARCHAR(10)  PATH  '/*/action'
      EVENT_ID ACTION
          1004 ADDfunction applied to the correct path works: SQL> SELECT EVENT_ID, ACTION    FROM EVENTSCHEMA.event x,   XMLTABLE ('/*' passing EVENTXMLTEXT
                     COLUMNS                
                            ACTION  VARCHAR(10)  PATH  'fn:lower-case(action)'
      EVENT_ID ACTION
          1004 addfunction applied to the wrong path does not work: SQL> SELECT EVENT_ID, ACTION  FROM EVENTSCHEMA.event x,    XMLTABLE ('/*' passing EVENTXMLTEXT
                     COLUMNS                
                            ACTION  VARCHAR(10)  PATH  'fn:lower-case(/*/action)'
      EVENT_ID ACTION
          1004Thanks again! I'm glad I can use the XQuery functions and don't have to find a workaround.
    -- Daniela

  • Where can I find a list of NI-DAQ functions supported over the RDA server?

    Hello,
    I am developing an application in Microsoft VisualC++ for PXI6071E MIO card remotely using RDA server.
    What I found out is that not all the functions described in the "Traditional NI-DAQ Function Reference Help" shipped with NI-DAQ version 7.0 are supported over the RDA server (e.g. Init_DA_Boards, or AO_Configure).
    Is there any document available where the functions supported by the RDA server are listed? It will help me a lot instead of manually executing all the needed functions and building this list by myself.
    Thank you in advance,
    Silvius
    Silvius Iancu

    Hello Sarah,
    Thank you very much for the link.
    Based on this article I included the easyio.h and easyio.lib from LabWindows/CVI into my VC++ project and I managed to perform the needed operations using Easy IO function calls.
    As a result of my own tests, the Analog Input functions provided by nidaq are not supported by the RDA server, but the General Purpose Timer/Counter functions are well supported.
    Hopefully the future versions of NI-DAQ will be fully supported by the RDA server.
    Thank you for your help,
    Silvius
    Silvius Iancu

  • I just subscribed to imatch while logged in to iTunes on a mac computer that belongs to someone else. (I was logged in to MY iTunes)  my iPhone will not turn on the MATCH function, saying I am no subscribed. I've powered off and on.  can anyone help?

    I just subscribed to imatch while logged in to iTunes on a mac computer that belongs to someone else. (I was logged in to MY iTunes)  my iPhone will not turn on the MATCH function, saying I am no subscribed. I've powered off and on.  can anyone help?

    Hi,
    I am having the same problem. Itunes reports that it's uploaded all the music etc.
    When I turn the match function on, it says "you are not currently subscribed to itunes match".
    I have restarted the phone and coputer, logged in & out several times to no avail.
    Any ideas or suggestions?

  • Regex matches function

    Hi
    I am trying to come up with a regex that I can use with the matches function to validate the user id I accept. The user id can contain alphabets, numbers and 3 special chars ".","-" and "#".
    The regex I came up with was: user_id.matches("[a-zA-Z\\d\\.\\-#]"). The string I am trying to match is 'user-1'. But this fails to match.
    I am not confident about the regex I am using to match my string to. Please let me know what I am doing wrong.
    Thanks

    I would use '+' rather than '*'; I doubt that an empty string would be considered a valid user ID. ^_^   String regex = "[a-zA-Z0-9#.-]+";

  • Does Information Designer Tools's aggregate awareness function support OLAP

    Hi...
    Does Information Designer Tools's aggregate awareness function support OLAP ??
    Thanks

    To see which ODBC function DG4ODBC is looking for and unixODBC isn't supporting it would be best to get an ODBC trace file. But as your unixODBC driver (unixODBC-2.2.11-10.el5) is outdated and these old drivers had a lot of issues when being used on 64bit operating systems (for example wrong sizeofint etc). So best would be to update the unixODBC Driver manager to release 2.3.x. More details can be found on the web site: www.unicodbc.org
    - Klaus

  • HT204406 help! cannot perform Itunes Match function

    I've owned a iMac for 2 years. Itunes match function used to perform correctly, until about a month ago. My softwares are up to date, including Lion I just installed successfully. Itunes version is the latest.
    When I try to perform Itunes match: Step 1 completes correctly, but NOT step 2. Step 2 stops, then loops back into step 1, and again and again ( loop..)
    Makes me a little sad...
    Anyone to help?

    never mind...just needed to restart the phone...seems to be working now...

  • Generics for Higher Order Function Support

    Perhaps I'm not looking hard enough, but it seems that all arguments for generics relate to containers. Has anyone considered the impact of generics and at least rudimentary type inference on higher order function support.
    Consider the case in which you want to execute a particular operation under time constraints, or with specified cleanup operations to occur afterwards, for example:
    interface DBOperation
      void doOperation(Connection con);
    void DoDBOperation(DBOperation op)
      Connection c = acquireConnection()
      try
        op.doOperation(con);
      finally
        c.release();
    }One would then call:
    DoDBOperation(new DBOperation() ...);Now what happens if I want to make a DBOperation that returns an integer and throws a specific checked exception. I would need to define an alternative DBOperation2 class, and rewrite DoDBOperation for each possible permutation of checked exceptions, and for each return type.
    Or one would just have:
    interface DBOperation
      Object doOperation(Connection inCon) throws Exception
    }But now when I call it, I need to catch Exception, not just the ones I specifically throw, and I have to cast the return type.
    Clearly, a generics mechanism with type inference could infer the appropriate throws and return type for the DoDBOperation call, given the compile-time type of the parameter.

    Ahh, i think I'm starting to see. My guess is that to achieve that in the current generic Java proposal, it would need to look something like:
    public interface OperationInterface<T extends Object, X extends Exception>
       <T> doOperation() throws <X>
    public class LoggedOperation<T extends Object, X extends Exception> implements OperationInterface<T, X>
      OperationInterface<T, X> delegatee;
      public LoggedOperation<T extends Object, X extends Exception>(OperationInterface<T, X> d)
        delegatee = d;
      <T> doOperation() throws <X>
        logStart();
        try {
          return delegatee.doOperation();
        finally {
          logEnd();
    Or somesuch.  The important thing to note is that the genericity is on the objects, not on their methods. So it can behave a little like you suggest, provided the class is created properly in the first place.
    Note: I haven't tried the demo version of the generic compiler, so I'm sure every line of that code is wrong.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Improve MATCH() function speed

    I am using a match() function to compare email addresses, looking for matchs of new emails to old. Old emails are in a data set of approx 40k and new emails total 16k. The process takes more than an hour. How might I improve on this performance? Is MATCH the best function to use?
    Thanks
    Kevin

    Hi Kevin,
    Do you need to know where the matching addresses are in the 'old' table, or would knowing whether an address in the 'new' list is matched one or more times in the 'old' list be sufficient?
    If the latter, here's a method that may do the job. I've assumed the 'old' table ("Table 1") has the addresses listed in column C, the 'new' table (Table 2) has them in column D, and that there is one header row on each table
    Add a column to the right of column D in the 'new' table. It will become Column E.
    In E2, enter this formula:
    =COUNTIF(Table 1::$C,D)
    Copy cell E2, click on the column reference tab for column E to select the while column, then command-click on E1 to remove it from the selection.
    Paste.
    The formula will be pasted into every cell in Table 2::E.
    Calculation time will depend on the number of rows in Table 1 and the number of addresses in Table 2.
    Any row with a result in column E of 1 or more contains a duplicate (or more than one duplicate) of the address in the cell to its left. Addresses with zeroes to their right are unduplicated in the 'old' table.
    Regards,
    Barry

  • @Match Function Usage

    Hi All,
    I am trying to use the @Match function within Datacopy but it gives me an error. Here is my code. Any help is appreciated.
    FIX (No_GEO, Plan, Functional)
    Datacopy @Match(Entity, "CC_????_S") TO @Match(Entity, "CC_????");
    ENDFIX

    A syntax issue -- you're not going to be able to use the @MATCH function on the left hand side of the equal side.
    Here's the formula you need:
    FIX(everything you listed in all of your FIXes bar Plan and Entity)
    FIX(@MATCH("Entity", "CC_????"))
    "Plan" = @MEMBER(@CONCATENATE(@NAME(@CURRMBR("Entity")), "_S")) ;
    ENDFIX
    ENDFIX
    This formula:
    1) Selects the current member in the Entity dimension through @CURRMBR
    2) Makes #1 a text string with @NAME
    3) Concatenates the _S
    4) Turns #3 into a member name with @MEMBER
    5) Assigns the value to the Plan Scenario
    The FIX around the members is so that just the CC_???? members get impacted.
    Regards,
    Cameron Lackpour

  • Pattern Matching functions in DP Macro

    Folks,
    Can anyone tell me if there are any pattern matching functions in DP Macros? Here is the requirement:
    If the time bucket is a quarter, then hide some rows. If the time bucket is  a month or something finer, then show the same row. Assume that all the time buckets in the data view will be the same (no telescoping buckets profile)
    So, suppose that I use BUCKET_DESCRIPTION and get the name of the bucket. If it is Q.* (using pattern matching lingo here), then I would like to set the row attributes accordingly. If it is M.* then set the row attributes to visible.
    Can you please throw some light on this? Would you do it some other way?
    Thanks,
    Satish

    Hi,
    You may try with the macro function BUCKET_DAYS(). This will find number of days in a given bucket.
    Then you can write condition, If bucket days is more than 1 and less than 7, then it is weekly.
    If bucket days is more than 7, then it is monthly.
    Please see if it is helpful for you.
    Regards,
    Manimaran M.

Maybe you are looking for

  • Where are LETOOLS for USB? The "ADB" Driver does not work with Windows XP

    I just give up with Lenovo's arcane maze of endlessly-looping driver searches.  I managed somehow to get something called an "ADB Driver" which was supposed to allow Windows XP to recognize my tablet as a K1 Ideapad.  I downloaded the 8+mb file which

  • Error in communication channel in PI 7.1 Server

    PI 7.1gives the error shown below when I check the status of the communication channel in the Run Time Workbench. . Error: com.sap.engine.interfaces.messaging.api.exception.ConfigException: Some of the IS access information is not available. SLDAcces

  • Firefox continually crashes, cannot open it at all

    I was using firefox fine, then it suddenly crashed, restarting it didn't do anything. Gives me the option to reset things, but it still crashes, even craches in safe mode. Any suggestions? I am tempted to uninstall and reinstall, but I really need to

  • ICal Server external Email Invitations Not working for names with umlauts!!

    Hi, I was testing external email invitations with iCal Server on Lion Server and encountered that if a Name that can Be resolved via iPhone or mac addressbook or even the sending iCal Account contains an umlaut something like this show up in iCal Ser

  • Payment Summary 2011 FBT amount

    Hi Expert, Seek your advise as I've tried all possible solution and still cant get the right solution.I've issue for merger company from Company A to Comp. B. Our user will only provide Fringe Benefit Tax by end of financial year.Hence, now the FBT a