Count function or similar in Numbers?

is there any way of counting text entries in a col eg 'cash' to provide a number in the 'sum' cell telling me how may times 'cash' appears in the col above````````/

Hi Rod,
Welcome to Apple Discussions and the Numbers '09 forum.
Apple provides several excellent resources with iWork '09, including the Numbers '09 User Guide and the iWork Formulas and Functions User Guide. Both are PDF files which can be downloaded via the Help menu in Numbers.
Take a look at the COUNTIF function (p 247) and COUNTIFS (p 246) in the F&F guide. One of these should work for your situation.
Regards,
Barry

Similar Messages

  • Count-Function in Message Mapping

    Hey, trying to map following structures:
    message
    -m1
    --m11
    -m2
    --m22
    -m3
    --m33
    to
    message
    -m1
    --m11
    -m2
    --m22
    -m3
    --m33
    -f1
    --countItems
    The nodes m1,m2 and m3 can appear 1..unbounded. In target structure I would
    like to have the numbers of all nodes (m1,m2,m3).
    For example: In this source structure m1,m2,m3 appear only one time. In the
    field countItems I would like to have the number 3.
    I tried the count function, but it could only count the structure where I used it (in
    this case: f1).
    How can I count the above-mentioned nodes?
    thanks
    chris

    Hey,
    thanks for your answers.
    But I still couldn't understand how to do this. I open the message mapping for field f1, but the count function could only be set on an target-element, so where to set the counters for m1,m2,m3? Do I have to insert extra fields under m1..m3?
    If I do the counter would increment with every node, so if I have two times m1, in second tree of m1 a two will be insert. If I use the add function, only for these two tree the result would be three!
    @Gangisetty Vijaya Bhaskarudu
    Is this just one UDF? From where he knows, which nodes he have to count, if I have more than m1..m3, but only want to count this three?
    @ sasitharan
    same problem as mentioned above:
    this doesn't work:
    m1--count---\
    I can't use m1 as input for count! Or do I have a wrong count function?
    <b>....au damm, answered my own question. Of course. I use COUNTER and you use
    COUNT!!!!!!!!!!!! I will try this with COUNT!!</b>
    thanks
    chris

  • Why is the Tick Count function slow when used with a .dll but fine with normal lab view code?

    when using the Tick Count millisecond timer with a .dll I've written in C, I'm getting some odd timing issues.
    When I code the function I want (I'll explain it below in case it helps) in LV and run it as a subVI, feeding it the Tick count as an argument, the function runs quickly, but not quite as quickly as I would like. When I feed this same subVI just an integer constant rather than the Tick Count, it takes about the same amount of time, maybe a tiny bit more on average.
    When I bring in my function from a .dll, however, I start to run into problems. When I feed my function an integer constant, it is much faster than my subVI written in LV. When I feel my .dll the Tick Count, however, it slows down tremendously. I'm including a table with the times below:
                 |  Clock   |   Constant   |
    SubVi:   | 450ms  |  465ms       |
    .dll         | 4900ms|  75ms         |
    This is running the function 100,000 times. The function basically shifts the contents of a 2-dimensional array one place. For this function, it probably won't be a huge deal for me, but I plan on moving some of my other code out of LV and into C to speed it up, so I'd really like to figure this out.
    Thanks,
    Aaron

    Hi Aaron,
    Thanks for posting the code -- that made things a lot clearer for me. I believe I know what's going on here, and the good news is that it's easy to correct! (You shouldn't apologize for this though, as even an experienced LabVIEW programmer could run into a similar situation.) Let me explain...
    When you set your Call Library Function Node to run in the UI Thread you're telling LabVIEW that your DLL is not Thread-safe -- this means that under no circumstances should the DLL be called from more than one place at a time. Since LabVIEW itself is inherently multithreaded the way to work with a "thread-unsafe" DLL is to run it in a dedicated thread -- in this case, the UI thread. This safety comes at a price, however, as your program will have to constantly thread-swap to call the DLL and then execute block diagram code. This thread-swapping can come with a performance hit, which is what you're seeing in your application.
    The reason your "MSTick fine behavior.vi" works is that it isn't swapping threads with each iteration of the for loop -- same with the "MSTick bad behavior.vi" without the Tick Count function. When you introduce the Tick Count Function in the for loop, LabVIEW now has to swap threads every single iteration -- this is where your performance issues originate. In fact, you could reproduce the same behavior with any function (not just TIck Count) or any DLL. You could even make your "MSTick fine behavior.vi" misbehave by placing a control property node in the for loop. (Property nodes are also executed in the UI thread).
    So what's the solution? If your DLL is thread-safe, configure the call library function node to be "reentrant." You should see a pretty drastic reduction in the amount of time it takes your code to execute. In general, you can tell if your DLL is thread-safe when:
    The code is thread safe when it does not store any global data, such as global variables, files on disk, and so on.
    The code is thread safe when it does not access any hardware. In other words, the code does not contain register-level programming.
    The code is thread safe when it does not make any calls to any functions, shared libraries, or drivers that are not thread safe.
    The code is thread safe when it uses semaphores or mutexes to protect access to global resources.
    The code is thread safe when it is called by only one non-reentrant VI.
    There are also a few documents on the website that you may want to take a look at, if you want some more details on this:
    Configuring the Call Library Function Node
    An Overview of Accessing DLLs or Shared Libraries from LabVIEW
    VI Execution Speed
    I hope this helps clear-up some confusion -- best of luck with your application!
    Charlie S.
    Visit ni.com/gettingstarted for step-by-step help in setting up your system

  • Help with Count function

    Post Author: RJPiekos
    CA Forum: Desktop Intelligence Reporting
    I am trying to use the count function to count the number of unique PO numbers in a column. The program returns a value of "1" even when there are no PO's to be counted. Is there some system setting that i am missing.
    The universe that i am using is a free-hand SQL query to to an MS Access .mdb file. (if that makes a difference)
    Desktop IntelligenceBO 11.5
    Rick

    Post Author: RJPiekos
    CA Forum: Desktop Intelligence Reporting
    Found my problem - 'empty' values in the PO column were not NULL.

  • Count function trouble

    I thought this would be an easy query to write, but am having
    much difficulty, maybe one of you can tell me what im doing wrong.
    I have a page that display's inventory items, and they have a
    category, subcategory, and a specification. I want it to display
    the items once the user chooses a subcategory, and then have the
    spec choices on the side to narrow the search further if they so
    decide. I want it to have a number in parenthesis beside the spec
    name telling you how many rows have that particular spec.
    In example, if they choose audio video equipment, then they
    choose receivers, All the receivers will show on the page(which
    works fine now), but on the side bar I want it to have something
    like this:
    Single Channel (16)
    Multi Channel (22)
    Distribution (7)
    Then the user could click on one of those and it will narrow
    the search down. Im able to get everything done fine except for the
    numbers in parenthesis next to the spec name. Any time I use the
    count function I seem to have trouble, btw I am using MS Access.
    How can I modify the code below to work for this. . .
    Thanks,
    Mike

    Not sure if I can answer all of your questions, but as for
    your query, If you are using count(), you really don't need
    distinct, but you do ned to GROUP BY the other non-count
    parameters. Also, you should use an alias for your count() field.
    SELECT i.spc_id, s.spc_name, COUNT(i.spc_id) AS spc_count
    FROM spec s INNER JOIN inventory i ON s.spc_id = i.spc_id
    WHERE i.cat_id = #cat#
    AND i.sub_id = #sub#
    GROUP BY i.spc_id, s.spc_name
    Phil

  • Why is the word count function inaccurate in tables?

    Why, when using tables in pages the word count function gives a total that is double the amount of words in the table? This has been a problem with Pages for sometime now. Additionally, is there a quick way of highlighting all the words in the table to give a word count total, similar to highlighting a paragraph, sentence or just a few words?

    Pages v5.2.2 (and probably 5.5) will total all the words in the body of a document (including those in a table) accurately in my experience. Since the Pages v5 family does not permit non-contiguous text selection, your only other way to count just words within the table is from the Statistics component of the free WordService Services package. Just select the table, and then from the Services menu, choose Statistics. The word count matches the table contents.
    Unfortunately, the AppleScript dictionary  for the Pages v5 family excludes any means to address words or characters within cells. The fact that Pages is counting words in the table, is due to native programming, and not AppleScript.

  • Long Running Count Function

    I'm new to the Windows environment for running Oracle and I'm having some performance issues with a report that I'm reviewing....
    I found that one of the tables being utilized by this report has 100,000,000 rows in it....When I run a SELECT COUNT(*) FROM T_FIELD, it takes 75 seconds to return the result....
    Although this seems like a lot of data to simply count and return shouldn't take that long....In my experience on Unix environments, a similar request would take 3 - 4 seconds....
    Is there a way to tell, if this is a performance issue with the box, Oracle configuration, or just not enough stuff in the box to properly power our Oracle environment with sufficient speed....
    I've set up STATSPACK and run while executing this COUNT......And compared the report against the idle database.....But I'm not sure what it's telling me....
    Here are some specifics about my environment.....
    Server: Windows Server 2003 - Service Pack 1
    Processor - Xeon 3.4 GHz(1)
    Memory - 3.5 Gig
    Disk - C:\ 67.8 Gig
    D:\ Raid 5 - 838 Gig
    Oracle 9.2.0.8.0 Enterprise Edition
    SGA Environment
    Shared Pool - 152 MB
    Buffer Cache - 256 MB
    Lagre Pool - 104 MB
    Java Pool - 80 MB
    SGA Max Size - 617.071 MB
    Any help in determining why this COUNT function takes so long would be greatly appreciated....
    JDB

    > Although this seems like a lot of data to simply count and return shouldn't
    take that long....In my experience on Unix environments, a similar request would
    take 3 - 4 seconds....
    Yeah.. no matter how much I like Linux and dislike Windows as an Oracle platform, that statement has no relevance at all. Linux/Unix does not mean 'Oracle fast' and Windoes does not mean 'Oracle slow'. Implying it does is a gross misunderstanding of o/s and Oracle architectures.
    One SELECT COUNT can be very different from another. On the very same instance on the very same platform. And now you want to compare the "average" SELECT COUNT performance on Linux/Unix with that on Windows? There is nothing logical or sensible about attempting such a comparison - never mind the fact that there is no such thing as an "average" SELECT COUNT performance.
    The very first thing to establish is HOW that SELECT COUNT is executed. Does it perform a full table scan? Does it perform an fast full index scan? Does it scan a bitmap index? Etc.
    Post the execution plan.
    And yes - one look at this level of detail long before popping the hood on Oracle configuration settings and trying "silver bullets" to slay the performance monster.

  • Which functions and features in Numbers are NOT exported correctly to Excel?

    I wish to know EXACTLY which functions I use in a Numbers sheet WILL FAIL to export correctly to an Excel or Neoffice spreadsheet.
    For instance, I created a Numbers spreadsheet using prolific use of the IFERROR function. However, when I EXPORT to XLS, all the cells that used the IFERROR function were replaced by the literal value of the cell. My IFERROR formulae were not EXPORTED as I had expected.
    I note that some formulae were converted correctly in my EXPORTED spreadsheet: eg MAX, MIN, AVERAGE.
    I understand that IFERROR was a function introduced recently to Excel, ie in the 2007 version. Consequently, I suspect that Numbers exports to a pre-2007 version of Excel. If so, which version?
    I have found this list that shows which functions are compatable amongst various versions of Excel:
    Excel Functions: Compatibility Reference (2010, 2007 & 2003). (n.d.). Retrieved from https://docs.google.com/spreadsheet/ccc?key=0AsHau4_IeCfwdG45c0VhcjBBUGNreVo2ZzN NRU1BT0E#gid=0
    This list shows that, for instance, IFERROR exisits inb both Excel 2007 and Numbers-09. So why is IFERROR not exported?
    Curmi, J. (n.d.). Summary of function in excel and numbers-09. Retrieved from http://curmi.com/blog/wp-content/uploads/2009/01/functions-in-excel-and-numbers- 09.pdf
    Some examples of my use of ISERROR in Numbers are as follows:
    =IFERROR(RANK(C47,$C47:$J47,1),"")
    =IFERROR(MEDIAN(C51:C58),"")
    =IFERROR($C32-C88+1,"")
    I use the above function to  carry out the calculation ONLY IF  a cell is non-blank and contains a number.
    More questions
    What are the rules that Numbers uses to convert to Excel?
    Is Numbers converting to the 2003 version of Excel? ... or an earlier version? ... which version?
    Why desn't Numbers advise me there were conversion errors or simplifications made?
    eg: "Cell A33 Function IFERROR was exported to the cell value for Excel"
    Is there a preference that I can select which version of Excel that Numbers will export to?
    In the meantime, I must abandon Numbers and use NeoOffice!

    Thanks,
    I applied your suggested ISERROR transformation to examples such as:
    =IFERROR(RANK(C47,$C47:$J47,1),"")
    =IFERROR(MEDIAN(C51:C58),"")
    =IFERROR($C32-C88+1,"")
    However, a caution for young players....
    Certainly, the ISERROR function exports to .xls. However, it behaves differently in NeoOffice.
    Items 1 and 2 function identically in the case of say, ranking a row in which some cells are blanks.
    Item 3, when translated using ISERROR to =IF(ISERROR(C32-C88+1),"", C32-C88+1), results in "" (ie error is raised) in Numbers but yields figure 0 in NeoOffice when there is a blank in either of the cells.
    I  recall from programming school in the mid-1970s that using GOTO statements and On Error branch statements were not admissible as routine programming steps. In fact, we received an automatic fail grade if we used a GOTO or GOTO like construction. So, I have found a more programmatically elegant way to solve my problem: eg:
    =IF(C88="","",C32-C88+1)
    Curiously, earlier I found/suspect this does not work equivalently in Numbers and NeoOffice:
    =IF(ISBLANK(C88),"",C32-C88+1)
    When you try using ISBLANK you always get an intuitively unexpected result because ISBLANK ONLY gives TRUE when there is absolutely nothing in a cell. A Formula reference in the cell, even if the function result yields "", gives FALSE... because, according to the definition of ISBLANK the cell contains a formula.
    As I tell my students, ALWAYS lookup the HELP on any function you use. ALWAYS test the function to see how it performs!.... and lesson 3: Always test your spreadsheet on different systems.... then hope!
    FYI:
    Here's a  link to my Spreadsheet (Neoffice .xls) and a video explaining its use.
    Team Contribution: Introduction (Prototype). (2013). Retrieved from http://www.youtube.com/watch?v=bj87FGLoplk&feature=youtube_gdata_player 
    I don't guaranteee this link for ever! ... and I continue to "tweak" it
    https://www.dropbox.com/s/1jz7gzksejnbqo1/Team%20Contribution.xls

  • Counter function value to multiple elements as same value in different node

    I need your help!
    I have a counter function and value of that needs to be passed to two elements of Node A and Sub Node B..
    Ex: Mapping
    Map Counter function to NodeA.Element1 and also to NodeB(subnode).Element2
    Expected Result:
    NodA.Element1 = 1
    NodeB.Element2 =1
    but I am getting the result as
    NodA.Element1 = 1
    NodeB.Element2 =2
    I understand the reason.. since the counter function is called each time..
    so my questions is how do I the expected result as mentioned--
    NodA.Element1 = 1
    NodeB.Element2 =1
    remember the XML is multiple occurence(1.. unbounded for both the nodes)
    Thanks-Gopal

    I think  I did not explain phrase it correctly..Technicallyh NodeA.Element1 value should be copied to NodeB.Element2..As long as I can generate counter to NodeA.Element1 and hold the value somewhere to copy to NodeB.Element2, that would be fine..
    the above suggestion you guys made would not work as it will create two different set of sequences.. however Index suggestion might work differently but still I might go out of sequence if I have multiple detail record for each master record..
    Here the expected output (concise)
    Record 1 - NodeA.Element1 = 1
    Record 2 -NodeB.Element2=1
    Record3- NodeA.Element1 =2
    Record4 - NodeB.Element2=2  -->two detail records
    Record5 - NodeB.Element2=2  --> two detail records
    please help

  • Count() function throws error in EQL query for metric

    Hi
    I am trying to use count function in EQL query for Metric Bar to show the number of occurrences of a record.
    When the record type doesn't exist i expect the function to return count as 0. Instead the function throws a runtime exception and the whole Metric Bar portlet fails, with error No Results Available. Even though other components in the metric bar have valid results.
    2013-02-21 13:03:51,216 WARN [MetricsBarQueryProcessor] The EQL query does not return any results.
    2013-02-21 13:03:51,216 ERROR [MetricsBarQueryProcessor] The EQL query does not return any results.
    2013-02-21 13:03:51,216 WARN [MetricsBarResultsProcessor] No statement results to process.
    The EQL query i am using is
    RETURN NUMBER_OCCURS AS SELECT COUNT(EMP_ID) AS NUMBER_OCCURS where EMP_NAME IS NOT NULL group;
    I tried using COALESCE but that doesn't help.
    Can some one please suggest a workaround to this?

    Srikanth,
    Two statements are used here because the original question was pertaining to the null set (where there are employees in the nav state but no employees that fit the special analytics criteria in the navigation state). The question/answer has nothing to do with what is in the COUNT parentheses clause as Counting a null set will always give you NULL, not 0, no matter what you put in there.
    What we're really doing, in the second part of the query, is writing a query over a set of data that is not the null set (i.e. the current navigation state). This allows the 0 value to come through in the case where the first analytics statement is evaluated over a null set of records. If there were truly no records in the navigation state, this too would return a null set and not zero.
    Hope that makes sense, feel free to respond (either on here or offline) if it's unclear.
    Regards,
    Patrick Rafferty
    http://branchbird.com

  • OBIEE: Incorrect SQL - with count function uses ORDER BY instead GROUP BY

    I made a basic report that is a client count; I want to know how many clients the company have.
    But, when I run this report, OBIEE generates a ORDER BY sentence, instead a GROUP BY. Remember that I'm using count function, that is a agregation.
    The SQL generated was:
    select 'N0' as c1,
    count(*) as c2
    from
    (select distinct T1416.CLIENT_INTER_KEY as c1
    from
    (select *
    from prd.D_SERVICE where SOURCE_SYS in ('ARBOR','PPB') and DW_SERV_ST_ID in (100000003,100000009)) T1836,
    (select *
    from prd.D_CLIENT) T1416,
    (select *
    from prd.D_CUSTOMER_ACCOUNT where SOURCE_SYS In ('ARBOR','PPB')) T1515
    where ( T1416.DW_CLIENT_ID = T1515.DW_CLIENT_ID and T1515.DW_CUST_ACCT_ID = T1836.DW_CUST_ACCT_ID and T1836.MSISDN = '917330340' )
    ) D1
    order by c1
    The error that I receive is:
    "Query Status: Query Failed: [nQSError: 16001] ODBC error state: S1000 code: -1005018 message: [Sybase][ODBC Driver][Adaptive Server Anywhere]Illegal ORDER BY item Order Item: 'N0',
    -- (opt_OrderBy.cxx 429) .
    [nQSError: 16011] ODBC error occurred while executing SQLExtendedFetch to retrieve the results of a SQL statement."
    If I substitute ORDER BY with GROUP BY and test it in Sybase, Ithe query runs without any problem.
    select 'N0' as c1,
    count(*) as c2
    from
    (select distinct T1416.CLIENT_INTER_KEY as c1
    from
    (select *
    from prd.D_SERVICE where SOURCE_SYS in ('ARBOR','PPB') and DW_SERV_ST_ID in (100000003,100000009)) T1836,
    (select *
    from prd.D_CLIENT) T1416,
    (select *
    from prd.D_CUSTOMER_ACCOUNT where SOURCE_SYS In ('ARBOR','PPB')) T1515
    where ( T1416.DW_CLIENT_ID = T1515.DW_CLIENT_ID and T1515.DW_CUST_ACCT_ID = T1836.DW_CUST_ACCT_ID and T1836.MSISDN = '917330340' )
    ) D1
    group by c1
    Do you know why OBIEE generates this SQL??? Why uses, with a aggregation function, a ORDER BY and not a GROUP BY? How can I resolve this problem???
    Regards,
    Susana Figueiredo

    Verify your repository design and make sure that you have defined count aggregate on fact column. You would also need to define the content level of each dimension in fact table.

  • Sql count function in order by clause

    Post Author: krypton
    CA Forum: Data Connectivity and SQL
    Hi Guys
    Can i ask a quick question. I am trying to retrieve data remotely from a SQL Server via crystal reports.
    Within the Database Expert I have entered a SQL query to retrive the number of (call center) support calls raised by our customers:-
    Select `Primary_Company`, COUNT(`Calls`)From  `SPRT_Issue` GROUP BY  `Primary_Company`ORDER BY  COUNT(`Calls`) desc
    The customer's column is called 'Primary Company' and the calls they raise are in the 'Calls' column. the above is a normal sql query.
    However Crystal fails to run the query and generates an error message :-
    Failed to open a rowset. Details: 420: Driver&#93; Expected lexical element not found: <identifier>
    I dont understand why it wont run. In the ORDER BY clause if i replace field 'Calls' by the field 'Primary Company' then it works.
    I think the problem is that it wont accept the count function in the order by clause. which is what i want it to do i.e display the calls in descending order by each customer.
    Could someone tell me if there is a way around it.
    Thanks
    Krypton

    Post Author: krypton
    CA Forum: Data Connectivity and SQL
    Thanks Lynn
    I tried your suggestion. But there is one probelm.
    When i sort the data in descending order using the count(calls) field, the data is returned but the customer's name appears multiple times along with their calls raised.
    E.g, if customer Mark raised multiple calls i.e. 2, 5, and 10 calls, then the report will show
    Mark   2
    Mark  5
    Mark 10
    But is there a way to aggregate all the calls for mark and show them only once:
    such as Mark   17
    Thanks

  • Distinct Count Function-how to use properly

    Hello,
    I am new to using forums & have only been using Crystal since May of 2009, so i hope i do this correctly & provide the appropriate information.  i've looked for this answer in what's been posted but cannot find it.  Some things i've read I don't really understand.  I only know how to use the functions that are in the software, i don't know how to write them myself (i think that's when people have referred to SQL code or basic syntax)
    I have CR Professional, version 11.0.0.1282 (Crystal Reports XI).
    I work at a county health dept and we have a annual medicaid cost report,  I am linking Crystal to our EMR billing module.  i have my report sorted by insurance, ie medicaid, bcbs, abw, hpm etc.  and within each ins group i have the clients ID, DOS (date of service), procedure code, charge amt, ins pmt & patient pmt.  i have totaled the charges & pmts for each group-works fine.  i even have been able to create the formula to adj out the duplicate entries in the billing module (a service was entered wrong then adjusted out then re-entered correctly-without my formula crystal was pulling both these records and adding them to total charges.)
    Where my problem lies and what my question is:  I need to count encounters, an encounter is the visit, but each visit could have 2 or more procedure codes.   So this results in multiple lines on my report for one visit, which i want for the charges to add correctly, but it makes my visit count to high. So I read about the distinct count function, of which there are three listed & i'm having a hard time understanding the differences.  What i tried is: a distinct count of the acct ID-so the same acct ID's are only counted the one time.  But some clients see us more than once per year, meaning the acct ID is the same but the DOS is different.  For this client that would be 2 visits.  But crystal is counting this as 1.
    Saying what i want to do is this:  Count as 1 when the acct ID and DOS are the same.  I've tried using the different distinct counts but when i check my formula it always has errors.  So I'm sure my lack of knowledge is what's holding me up-i fully believe crystal can do this.
    Any help would be greatly appreciated.

    I create a dummy table, set up acc_id and DOS and Charge.
    Created a running total
    Summarized acc_id
    Type of summary Count
    Evaluated using a formula
         <> previous ()
    and reset on ACC_ID
    My groups were sorted by acc_id and date
    where there were multiple visits on the same DOS my count was 0
    where the dos changed it would count accordingly.
    You may need to use two Running totals to get the complete picture.

  • Count function in Administration Tool

    Hello,
    I am using Oracle BIEE 10.1.3.3 and tried using the count function in the repository so that the users have the field ready in Answers but the consistency checker returned an error stating:
    [38083] The Attribute 'No of Movements' defines a measure using an obsolete method.
    It seems that the count function has been removed in the latest version. Does anyone know please whether there is substitue repository function for it?
    Thanks a lot
    Marija

    I managed to formulate it after a lot of tries (pls see below)
    EVALUATE('count(%1) over (partition by %2)', 'CASE WHEN biwh.DIM_INVENTORY_TRANS_TYPES.TRANSACTION_TYPE_NAME LIKE "Damaged%" THEN "biwh"."DIM_PRODUCT"."PRODUCT_CODE" END', 'biwh.DIM_INVENTORY_TRANS_TYPES.TRANSACTION_TYPE_NAME')
    BUT unfortunately in Answers I am getting the following error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14027] The navigator cannot handle the following request containing constants only: Evaluate( count(%1) over (partition by %2),'CASE WHEN biwh.DIM_INVENTORY_TRANS_TYPES.TRANSACTION_TYPE_NAME LIKE "Damaged%" THEN "biwh"."DIM_PRODUCT"."PRODUCT_CODE" END', 'biwh.DIM_INVENTORY_TRANS_TYPES.TRANSACTION_TYPE_NAME') as c1. (HY000)
    SQL Issued: SELECT F_INVENTORY_CONTROL."Qty of damaged products" saw_0 FROM "Inventory - Levels by Status" WHERE "DIM_INVENTORY_TRANS_TYPES"."TRANSACTION_TYPE_NAME" = 'Damaged during Handling'
    Any ideas pls??
    Marija

  • How to include the COUNT Function in business rule

    Hi all,
         I am working in oracle data quality in ODI.
         This is regarding the business rule in Data quality.
         I need to count the number of records when my status_type="A".
         But when i include the COUNT function in business rule.
         I find the following error as "*Unspecified Count Function*".
         Waiting for ur valuable reply.
         Thanks in advance,
         JayaPradha P

    Hi,
    The following is the condition I have to be used
    For eg:*Count records in DIM_SERVICE_ORDER_CODE where service_type = ‘P’*
    But when i use COUNT function.
    Im getting the error as "Unrecognised function count"
    waiting for ur valuable reply
    Thanks in advance,
    JayaPradha p

Maybe you are looking for

  • Trying to find .m3u files - No Joy

    I can see the files if I browse the Music For Car folder. Don't want 'em, the car don't know what to do with them and then it is another file you have to skip over to play music. If I put .3mu in the search criteria, and Music For Cars folder is sele

  • Warning while using KToolBar

    The midlet code compiles alright but when i try to run it this is what i get WARNING: Resource "Rsrc 58898" may be too large. Hotsync may fail. Wrote: c:\J2mewtk\wtklib\devices\PalmOS_Device\testDB.prc after printing this message the Palm OS emulator

  • What and How do I need to set up inorder to run JSP on Win NT4 server

    I'm a newer on JSP. I need to get JSP run on win NT 4. That is the only server available for me. I'm wondering that the tomcat could work with IIS. If not, what do I need? Anybody, please help me. chayawee

  • Error message in 2006 screen

    Hi, when i am assing the quota in 2006 a screen with error message come just before the 2006 screen -- Error message --     "No validity Intervel for key 2  30  30 " regrdas rj

  • Cann't Download Docs from SOLMAN!!

    Hi Ppl, Greetings!! I am New to SOLMAN. I am facing problems in downloading templates from SOLMAN. T.Code: RMMAIN Kindly guide me. rgds, Deeppak SAP SD