Number of Element

In OBIEE , what does No of Element stands for and how to find the correct value for it . ?
Thanks

This the number of distinct values that are present in a dimension. For example, if you have a time dimension with data for 10 years.
The hierarchies for this dimension for example are , Year, Month, Day
Then number of elements for Year are 10
Then number of elements for Month are 10*12
The number of elements for Day - 10*365
HTH
Mahesh

Similar Messages

  • How to get the number of elements in a tilelist

    I'm writing test cases for a flex application using FlexSelenium and I need to get the number of elements displayed in the tilelist.
    I know that that the tilelist is fed by an array. but i can't access that array from my test case.
    Can anyone tell me how I can get the number of elements in a tilelist on the application? which property of the tilelist can provide that number?

    try tileList.dataProvider.length;

  • How to get the number of elements in DB

    Could you tell me how to get the number of elements in DB??
    My code to get the number is below, but I think it is not efficient
    DB->cursor(DB, NULL, &cursorp, 0);
    while ((ret = cursorp->c_get(cursorp, &key, &data, DB_NEXT)) == 0)
    count++;
    --------------------------------------------------------------------------------------------------------------

    Hi,
    The most efficient way to get a count from the database is using the DB->stat API (http://docs.oracle.com/cd/E17076_02/html/api_reference/C/dbstat.html)
    The code will be something like:
            DB *dbp;
            DB_BTREE_STAT *statp;
            int ret;
            /* Print out the number of records in the database. */
            if ((ret = dbp->stat(dbp, NULL, &statp, 0)) != 0) {
                    dbp->err(dbp, ret, "DB->stat");
                    goto err1;
            printf("%s: database contains %lu records\n",
                progname, (u_long)statp->bt_ndata);
            free(statp);The code comes from the example included in the distribution at examples/c/ex_btrec.c
    If the database isn't a btree, you should update to the appropriate statistics structure and field.
    It's worth noting that retrieving the count is never a "cheap" operation. The count is not stored in the database - since doing so introduced a single point of contention that creates a bottle neck.
    Regards,
    Alex Gorrod
    Oracle Berkeley DB

  • Number of elements at logical level / odbc driver

    Hi everyone,
    I'm new in BI area and I cannot understand one basic thing.
    I study documentation about BI server, exactly chapter about "creating dimensions" and I'm confused about setting "number of elements at logical level"
    It looks for me that "number of elements at logical level" is static.
    What will be when someone update data in the table and number of elements will be different than number of elements in our logical level?
    example:
    current column with distinct values:
    channel_desc:
    direct sales
    tele sales
    catalog
    internet
    partners
    in this case I set number of elements at logical level 5.
    after a while some update data in the table and our column looks (see below)
    column after update with distinct values:
    channel_desc:
    direct sales
    tele sales
    catalog
    internet
    partners
    others (added value)
    Does it mean that I have to change it to current numbers of elements?
    I'm sure that this is misunderstanding in my case, but I don't know where?
    Second problem which I have:
    BI with oracle database is on linux
    client software on windows
    I can import data from database like sybase or flat files to the physical model, I can view data, but when I create whole model (physical, bussines model and mapping, presentation) and I try access data from "Answers" I have this error:
    "Data source name not found and no default driver specified"
    regards
    Bart

    Number of elements is just an indication used by the BI Server (e.g. when generating LOV's in Answers). It won't cause any problems when it doesn't hold the exact number of elements available in the dataset.

  • Number of elements - Dimensional Hierarchy

    Hi,
    In a *'Dimensional Hierarchy'*, while creating a new *'Parent level'*, a 'Logical Level' dialogue box prompts for entering *'Number of elements at this Level'*+. What is its significance ?
    What is achieved by+ *'Number of elements at this Level'* +?+
    Thanks in Advance & Regards,
    Deeba

    Hi deeba,
    Its not mandatory to specify the number of elements in hierarchy....if you wont mention also by default it takes the value of 1.....Above vino gave you the link for explanation.
    Hope it helps you...Award points and close the thread.
    By,
    KK

  • Number of elements  to  be defined at  logical level

    In the Business Model and Mapping layer, dimension >Logical Level >> number of elements at this logical level
    I have come across two different version of how to deal with this
    First version - From the OBE and the admin server guide it says "The number does
    not have to be exact, but ratios of numbers from one logical level to another should be accurate".
    Second Version - a question from asked about what defines the number at the level as best practices
    To set the number of elements at each level of a dimension, which number would you use?
    A. the number of columns in a logical table
    B. the number of levels in a dimension
    C. the number of dimensions in a business model
    D. The number of tables in a physical model
    E. the number of distinct rows in physical column
    Question is
    what is the rule to set the number of elements at this level?
    If its been set depending upon the rows in the table . what will happen if the rows gets added every hour ??
    Edited by: ZSAM on Jun 8, 2011 7:06 AM
    Edited by: ZSAM on Jun 8, 2011 8:22 AM

    The ratio between the levels is what is important I believe. BI Server will use this information to determine which aggregate source to use. You should use the number of distinct rows as the value.
    You can also right click the hieracny and use "Estimate Levels" to auto-populate the numbers for you.
    Paul

  • Write two functions to find the the number of elements in a linked list?

    I am trying to Write two functions to find the the number of elements in a linked list. One method using recursion and One method using a loop...
    //The linked List class is Represented here.
    public class lp {
    public int first;
    public lp rest;
    public lp(int first1, lp rest1)
    first = first1;
    rest = rest1;
    The program i wrote so far is
    import java.util.*;
    import linklist.lp;
    public class listCount{
    //loop function
    public static void show_list(lp list)
    int counter = 0;
    while(list != null)
    list = list.rest;
    counter++;
    System.out.println ("length computed with a loop:" + counter);
    //recursive function
    public static int recursive_count(lp list)
    if (list.first == null)
    return 0;
    else
    return recursive_count(list.rest) + 1;
    //main method
    public static void main (String args[])
    lp list1 = new lp(1, new lp(2, new lp(3, null)));
    show_list(list1);
    System.out.println("length computed with a recursion:" +
    recursive_count(list1));
    at the if (list.first == null) line i get the error " incomparable types:
    int and <nulltype>" I know this is a beginners error but please
    help...What should I do?

    byte, char, short, int, long, float, double, and boolean are primitives, not objects. They have no members, you cannot call methods on them, and they cannot be set to or compared with null.

  • REST to SOAP: Invalid number of elements in URL "/"

    Hi,
    So having read the great blog series PI Rest Adapter - Don't be afraid by Alexander Bundschuh and I decided to try and set up my first scenario using the REST adapter in the same vain as Working with REST Adapter: A REST to SOAP Scenario in SAP PI/PO .
    When I come to test the service from SOAPUI I get a 404 error with the message "Invalid number of elements in URL "/". 3 expected, 0 received."
    As you can see it is hitting the correct sender communication channel as the response comes back with the channel name "RESTSenderMyService".
    The Channel has been set up as follows:
    Input and output format = XML
    Channel selection = MyService   (The 'Specify Endpoint' flag is ticked)
    There is no limit set for the HTTP operation.
    Everything else is left unchanged....left as their default values
    Also I've tried adding the full URL in SOAPUI in the endpoint field - the attached screenshot shows when I tried moving the /RESTAdapter/MyService into the Resource field.
    I've also fiddled with the media type of the payload from text/xml to application/xml.
    So the mystery is what does the error message refer to and what are the 3 elements it's expecting?
    Thanks in advance.

    Hi Peter,
    This has happened because you have not defined the values for the url pattern you have defined in the REST sender channel (I am talking about Service resource and id).
    Provide them in the resource section and you will get the message through.
    eg- /RESTAdapter/MyService/service/resource/id
    Thanks,
    Vikas Singh

  • Number of elements in the FP affecting the performance of my application ?

    I developed a simple application which consists of aquiring a signal through a channel of a PXI 5102 module and commanding some relays of a SCXI 1161 module.
    This application has the following features :
    -The user can, at any time, change the configuration of the PXI 5102 module.
    -The signal acquired can be saved to a file whenever the user wants.
    -Instead of showing the signal acquired through the PXI 5102 channel, the user can load a given file which contains a saved signal.
    -The user can increase or decrease the pressure on a line through a VI that commands SCXI 1161 relays.
    As you can see, it is a fairly simple application but the problem is that it have been running for a time the fron
    t panel crashes. Is it because the high number of elements I have in the front panel ?
    To give you more information I tell you that the processes of saving, loading, decreasing and increasing the pressure on the line are event cases of an event structure.
    The front panel consists of a tab structure, 20 controls and indicators and a cluster consisting of 9 controls.

    No error take place. By crashing I mean that after a period of time the frontpanel control´s response to inputs of the user become so slow that after a short time there´s no response at all.
    The problem is that I´ve been dealing with this problem in this aplication for quite a while and although I´ve optimized, I think, its execution time and the way it deals with memory usage this problem persists.
    Since most of the operations performed by it depends on inputs by the user I´ve decided to use an event structure to manage them and decided to load the VIs related to them dynamically into memory to somewoh optimize memory usage.
    In order to make things more clear to you I´m sending you a zipped file containing pics that completely describe the frontpane
    l ad the block diagram of the appliction.
    Any help you can give will be deeply appreciated.
    PS : I´ve tried to sent the zipped file but awindow appeared notifying me that Developer Exchange is down for maintenance. If you need any more information to clarify what I mean please let me know.
    Sincerely,
    Giovani Marcelino Nesi
    DRV Desenvolvimento e Representação Virtual Ltda.

  • Total number of elements in an array

    Hello, 
    I am trying to count the total number of elements in an array. 
    I have a simulate signal VI, that simulates a square pulse, this is being written into an excel file using the write to measurement VI, all for a given period of time. 
    I want to further chop a window of the signal depending on different paramenters (a trigger, which I intend to incorperate later, for now I am working of learning how to chop the data)
    In order to chop the data I need to know the array size, I use the array size funtion, I right click on the appeneded array in the front pannel and click show last element (array size -1) it doesnt match with the number of rows in the excel file written by the write to measurement VI, in fact it macthes with the "number of samples" I selected in the simulate signal VI. 
    Am I doing something wrong? 
    Why is there a miss match??
    I have attached my VI, Please help
    Thank You
    SP
    Attachments:
    FlashERGTrialVI 150218.vi ‏93 KB

    Hello RavensFan
    Thank you for the reply, I did incorperate the changes, but the same number is displayed in the indicator.  I've attahced my VI
    SP
    Attachments:
    FlashERGTrialVI 150218.vi ‏106 KB

  • Number of elements in an array

    Hi,
    I have been trying looking for a simple function to get number of elements is an array. Have gone though older posts but could not find answer to it.
    The function should work for following examples:
    char* name = "nInstruments"
    float state[] = {1.0, 2.0}
    I tried sizeof but it returns size of "type" in bytes. For example in example 2, it will just return 4.
    Does someone know a way to do it?
    Ciao
    RB
    Solved!
    Go to Solution.

    RB,
    In C, if an array is declared on the heap, as opposed to on the stack as in your example above, the sizeof operator only returns the length of the pointer that holds the array which, in a 32-bit program, is always 4 bytes. This is because the compiler has no way of knowing how many elements that array actually holds. The length of a C array is a fairly fluid concept. The real size of the array is usually determined by some memory manager somewhere (usually, malloc), but it's not something that the language itself has anything to say about.
    When you declare the entire array as a local variable, however, the compiler must create room for the full array on the stack, and therefore it is able to return the true size of the array via the sizeof operator. (The same is true if it's a global variable, even if it's not on the stack, in that case)
    For this reason, using the sizeof(array) / sizeof(array[0]) trick is iffy. It might work, or it might not work, depending on how the array is declared.
    For this reason, most C APIs that accept or return arrays, will usually also have some method of communicating the length of the array, usually as an additional parameter of some function. Because .NET APIs usually have no need to do this, the C wrapper for a .NET API in CVI does this for you when it handles .NET arrays. For example, here's what a function signature might look like:
    int CVIFUNC Namespace1_Class1_Test1DArrays (Namespace1_Class1 __instance, int * inA, int __inALength, char *** outA, int * __outALength, Namespace1_Class2 ** refA, int * __refALength, double ** __returnValue, int * ____returnValueLength, CDotNetHandle * __exception);
    Luis

  • How Do I Print the Number of Elements in An Array

    How do I print: "There are ____ number of elements in the array?"

    If you have a String holding a sentence, and if you split on non-empty sequences of whitespace (if the string has newlines in it, you'd probably need to pass the argument that makes \s match newlines, and for that you would probably need to use java.util.regex.Pattern -- see the docs and try some tests), when you'd get an array of Strings that were the non-whitespace parts of the original String. That makes for a reasonably good definition of the words in the sentence, although you could arguably get into some gray areas (does "isn't" count as one or two words? Does a sequence of numbers or punctuation qualify as a word?). In that case, counting the number of elements in the resulting array of String. using .length, would be a reasonable way to get the number of words in that sentence, yes.
    But rather than asking for confirmation on forums, why don't run some tests?
    import java.io.*;
    public class TestWordCount {
      public static void main(String[] argv) {
        try {
          BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
          String line;
          while((line = in.readLine()) != null) {
            int count = // your code here, to count the words
            System.out.println("I see " + count + " words.");
        } catch (IOException e) {
          e.printStackTrace();
    }Put your word-counting code in there, then run it from the command line. Type in a sentence. See how many words it thinks it found. Does it match with your expectation, or the examples given (hopefully) with your homework assignment?

  • Count the number of elements in an Arraylist

    My arraylist has these elements inside it.
    [house,tom:, agent,, person,, untidy,jack:, ordered,, tidy,, tiled,roof,tom:, agent,, person,,.....]. The list continues like this.
    How can I count the number of elements after each tom upto before each jack and same for all words after jack and upto before tom? [for example in the first case there are 3 words after tom and there are 4 words after jack.]
    Thanks

    don't collapse your lists together. They represent separate data entities and should be kept separate. Go check your [other thread|http://forums.sun.com/thread.jspa?threadID=5416414&tstart=0].
    Edited by: DeltaGeek on Nov 17, 2009 11:07 AM

  • Any Reports show PM Orders Number, GL Number, Cost Element and the amount?

    Hi Experts,
    Are there any reports that display the PM Orders Number, GL Number, Cost Element and the amount?
    currently i have to use IW32 and click the COSTS tab then click button REP.PLAN/ACT. to view these information.
    Please Advise
    Thank you
    Regards

    There is no single report to show all the data. You have to use different reports or develop custom report.

  • Number of elements that can be used with 'in' Operator

    One of my SQL query having 'in' operator failed saying number of elements exceed.
    Is there a limit on number of elements that can be used with - 'in' operator.
    And if yes can it be increased?

    Parag Kalra wrote:
    One of my SQL query having 'in' operator failed saying number of elements exceed.
    Is there a limit on number of elements that can be used with - 'in' operator.
    And if yes can it be increased?You cannot have more than 1000 literals in an IN clause.
    Please check
    ORA-01795, limit on in clause
    Max number of values in IN clause
    Edited by: Rajesh Lathwal on May 24, 2010 12:28 PM

  • Set number of elements in a two dimensional array

    Hi,
    Does anyone know how to set the number of elements in a two dimensional array directly in teststand.
    To set a one dimsional array is simple:
    SetNumElements( locals.somearray,4)
    Is there a method to do this for a two dimensional array?
    Sean

    From the help file (TestStand 4.2.0):
    PropertyObject.SetNumElements
    SetNumElements Method
    Syntax
    PropertyObject.SetNumElements ( numElements, options = 0)
    Purpose
    Sets the number of elements of a single dimensional array.
    Remarks
    This method is only valid for single dimensional arrays. The elements in the array retain their values. Use the PropertyObjectType.ArrayDimensions property to set the number of elements in each dimension of a multi-dimensional array.
    Parameters
    numElements As Long
    [In] New number of elements for the array.
    options As Long
    [In] Pass 0 to specify the default behavior, or pass one or more PropertyOptions constants. Use the bitwise-OR operator to specify multiple options.
    This parameter has a default value of 0.
    So you could use, for example: Locals.MultidimensionalArray.Type.ArrayDimensions.SetBounds({1,0},{3,4}) to set an array to have three dimensions (1,2,3), each with five elements (0,1,2,3,4).

Maybe you are looking for

  • Error While Deploying A CMP Entity Bean With A Composite Primary Key

    Hello all, I have a problem deploying CMP Entity beans with composite primary keys. I have a CMP Entity Bean, which contains a composite primary key composed of two local stubs. If you know more about this please respond to my post on the EJB forum (

  • Cross Business Group approval

    Hi, I have a situation. In BG-1 there an employee record BG - 1: Mr. X In BG -2: Mr. A Mr. b Mr. C Mr. in BG-1 is a manager of MR, A,B and in in BG-2. if MR A, B and C send any request using Employee Self Service. Will these request goes to Mr.X whos

  • Error message on trying to view site uploaded

    Format: Flash CS5, Platform: MacPro In creating a site for client I had no problem in uploading and viewing on first go. I needed to update the metadata, made changes, uploaded and got error messages when trying to view on safari, firefox, opera. I w

  • How do i get my sony books into ibooks

    how do I get my sony ebooks into ibooks?

  • How to get an event on Air Application uninstallation

    Hi Friends                  is there any way to get an event on Appliation uninstallation.Actually i want to cleared my shared object when i uninstall the application.Also want to remove the application from system tray during uninstallation of appli