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

Similar Messages

  • Logical Difference of defining Multiple Logical level keys

    Hi All,
    We add logical level keys in BMM layer by right cliking the logical level column of a dimesional hierarchy, doing so defines a new logical key, i already have another logical level column defined as logical level key.
    When i double click on logical level hierarchy, it has keys tab where i have two keys now.
    say the two keys are: "channel desc key" and "channel id key"
    My question is in one key say "channel id key" if we click edit, i am getting all the columns including channel desc column, so if i click it as key, it forms a composite key of (channel id) + (channel desc) inside "channel id key". Then what is the use of maintaining another key = "channel desc key"
    Is there any logical difference of ("maintaining two keys having single column defined as key in either of them") and ("maintaining one key having two logical columns defined as keys in a single logical level key")?
    Thanks in Advance.
    Regards,
    Sreekanth.

    Hey got the answer, there is a difference, if i add multiple columns as keys under a single logical level key, they both come under one key and its drill down on both the columns, i cannot select selectively out of which column of the two drill down is applicatble.
    If i create two different logical keys for two columns i can selectively choose which column drill down is applicable to.
    Drill Down is based on "Logical Level Key" not on Logical Level Column selected as key.
    Thanks,
    Sreekanth.

  • What is the purpose of Number of elements at this level and ..?

    Hi,
    What is the purpose of Number of elements at this level an how it influences the obi server to optimize the query?
    Thanks in advance.

    Hello,
    Number of elements at this level, specify the number of elements that exist at this logical level.By mentioning this levels we are telling to the BI Server that it is a parent and the next level is a child.
    Mark if helps.

  • 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.

  • In OBIEE RPD hierarchy,while defining levels  Number of elements count?

    Whats the importance of NUMBER OF ELEMENTS AT THIS LEVEL (count) while defining the hierarchy level.Does I need to enter the MAXIMUM distinct values of any element in that dimension table.If Yes how will that value gets updated when data in DB changes.Or can I mention depending on level count too like Level 1(1),Level2(2) ...

    use search functionality of the forum
    Re: Estimate Levels

  • Determining the number of elements defined in an enum

    Hello,
    I have an enum and I want to determine the number of elements (constants) defined in this enum by source code. I know I can use reflection but I just want to know if there's an easier way.
    Thank you very much.

    Hey JavaWisdom,
    You can use the ordinal method. I made a simple example to demonstrate.
    public class NumberOfEnums {
         public static enum Enumeration {
              item1, item2, item3, item4
         public void count() {
              Enumeration[] values = Enumeration.values();
              int numElems = 0;
              for (Enumeration type : values) {
                   if (type.ordinal() > numElems) {
                        numElems = type.ordinal();
              // Correct 0 indexed numbering
              numElems += 1;
              System.out.println("numElems : " + numElems);
         public static void main(String args[]) {
              NumberOfEnums noe = new NumberOfEnums();
              noe.count();
    }Cheers,
    Cypher

  • 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

  • No of elements in a logical level.

    Hi
    I am very much confused with the following one. How do we know that there should be some "n" number of elements in one logical level?
    "No of elements at this level......." ?
    Thanks&Regards
    Suresh.

    Hi Kishore
    thank you very much for your answer. I was searching this on google for the past one month and all searches went in vain.
    But your answer is extremely valuable.
    Thank you very much and keep it up.
    Thanks&Regards
    Suresh.

  • 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

  • Reg Number of elements at this level and Variables

    Hi Experts,
    What is the purpose of Number of elements at this level in the dimensional hierarchy of BMM layer on what basis default it will show 1 if we change this value into 2 what happens .
    Difference between non system session variables and dynamic repository variables in which scenarios we will use these bth variables.

    Hi Rafi,
    Sorry for delay response.
    Nonsystem Session Variables :-
    The procedure for defining nonsystem session variables is the same as for system session variables.
    A common use for nonsystem session variables is setting user filters. For example, we could define a nonsystem variable called SalesRegion that would be initialized to the name of the user’s sales region.
    We could then set a security filter for all members of a group that would allow them to view only data pertinent to their region.
    2. difference between dynamic repository variables and non-system session variables?
    Dynamic Repository Variables:-
    We initialize dynamic repository variables in the same way as static variables, but the values are refreshed by data returned from queries. When defining a dynamic repository variable, we will create an initialization block or use a pre-existing one that contains a SQL query. We will also set up a schedule that the Oracle BI Server will follow to execute the query and periodically refresh the value of the variable.
    Note: When the value of a dynamic repository variable changes, all cache entries associated with a business model that reference the value of that variable will be purged automatically. Each query can refresh several variables—one variable for each column in the query. We schedule these queries to be executed by the Oracle BI Server.
    Hope this help's
    Thanks,
    Satya

  • How to convert amount data element to number data element

    Dear Gurus,
    I have a requirement to get the data by calling BRF+ and then pass them to BAPI 'BAPI_ASSET_ACQUISITION_POST', in the BRF+ export structure, there is a field 'AMOUNT', I bind it to DDIC element 'BF_ANBTR', the type is Number.
    In BRF+, I call another global function to calculate the value, I define a local variant LV_VALUE to get export value from this function, this local variant's type is Amount, now I need to move this local variant value to the export field 'AMOUNT'.
    But BRF+ doesn't allow to convert amount data element to number data element directly, and I find there is no formula function available. Only there is a function 'TO_AMOUNT' to convert number data element to amount data element.
    Please help to get a solution for above solution.
    Thanks.

    Hi,
    within the formula expression within the category "Mathematical functions" you will find the function "TONUMBER". This converts a data element of type currency to a number. According to the help of this function:
    "The following conversion rules apply:
    <Amount>: The number part is returned. The currency unit is omitted."
    This is what you are looking for.
    For the other way round you already mentioned the correct function "TO_AMOUNT"
    BR
    Christian

  • Determining number of elements in a bitset?

    Neither size() or length() returns the number of bits in the set, so how do I iterate over a bitset?
    Bitset bs = new Bitset(10);
    bs.set(3,true);
    bs.size(); // returns 64 -- who cares about the memory used? Does the JVM even really know?
    bs.length(); // returns 4
    int i=0;
    for(; i<10; i++)
    etc...
    Is there a method I'm overlooking to return the number of elements in the bitset?
    Thx, Chris

    Such info is not stored in the bitset object, as you can see reading the source code of java.util.BitSet.
    As you can read in the source code, the better you can go is getting the 'logical length' with the method 'length'.
    See that 'nbits' is not stored anywhere.
        public BitSet(int nbits) {
         // nbits can't be negative; size 0 is OK
         if (nbits < 0)
             throw new NegativeArraySizeException("nbits < 0: " + nbits);
         bits = new long[(unitIndex(nbits-1) + 1)];
        }

  • DMA FIFO number of elements to read mismatch in FPGA and RT

    Hi all
    I am using myRIO , LV14 to run my application.
    Application: I have to continuously acquire data via FPGA and process in RT host once every 2000 samples are collected. I use DMA FIFO (size 8191) to acquire data, use timeout property at the FPGA to eliminate buffer overflow. I had followed cRIOdevguide to implement this part. A snippet of what I have implemented is attached. Whole code runs in SCTL at 50MHz.
    Issue: Twice or thrice I encountered with this strange behaviour, that the FPGA FIFO is giving continous timeout and the RT is unable to read the FIFO. The number of elements to write propery in FPGA VI gives 0 showing that FIFO is full and no more can be written, but at the RT, elements remaining is giving 0, hence it is reading 0 (no) elements.
    Workaround: I put a case where I will write to FIFO (as per the code) and if the number of elements to write is nonzero. It seems to work fine, as of now.
    What confuses me is that my FPGA VI says that FIFO is full (FIFO number of elements to write = 0) and gives a timeout error, but RT VI says that number of elements remaining in FIFO is 0 and hence no data is read. Any idea why it is so? My FPGA and RT VIs continues to run, but with no data being acquired or read.
    I saw this behaviour within minutes after running the code. Any idea as to why it is happening? I am trying to reproduce the behaviour and will update if i again encounter with it. Sorry, I cannot post my code here, but i guess the code snippets explain it to some extend.
    Thanks
    Arya
    Edit: Even with the mentioned workaround, the problem persists, now that the FPGA does not write to FIFO at all. And the RT VI is not able to read any elements as it sees 0 elements in the FIFO. The FIFO continues to be in timeout state. So i guess the problem is with the RT side.
    Solved!
    Go to Solution.
    Attachments:
    cRIOdevguide_FIFOreadwrite.PNG ‏107 KB
    FPGA_FIFO_write.PNG ‏41 KB
    RT_FIFO_read.PNG ‏39 KB

    Hi Nathan
    Yes, I could have replaced it with an OR. Regarding my application, I want to acquire data in chunks of 2000 samples. If at all I receive a timeout error, I want to discard that chunk of 2k samples and start all over again. So my logic was like this, I acquire the data, if there is a timeout, the reset is triggered, and the system waits to comeback from reset, and it starts acquiring again. Btw, I tried removing the multiple FIFO reads in RT, but the error is still the same.
    I have a small doubt as well, if I do not want to obtain stale data at alI, I would just check if timeout occurs, empty my FIFO and start acquiring data again (no reset button), isnt it? This was my original logic, but I saw that after a while, it stopped acquiring data and timeout led was on. I was thinking that FPGA and RT was simultaneously trying to acquire FIFO which might cause timeout. Somehow, I now feel that, as you have pointed out, my code is overly complicated. I will modify it and update the results. Thank you!
    Arya

  • Get the number of elements in Array

    Hi everyone,
    Could anyone give me idea on how to get the number of elements in an Array (not number of rows) ?
    I tried to find that in both property node and array functions but nothing.
    Thanks,
    -Kun

    You are going to have to provide some proof that the Array Size does not work correctly. Right click on the input to it and select 'Create Indicator'. Run the VI. Go to the front panel and select 'Edit>Make Current Values Default'. Save the VI and attach it to your post.
    You can also check the array size yourself. Right click on the index display of the array and select 'Advanced>Show Last Element'. I will bet you that number shown is equal to Array Size -1.
    p.s. The number of elements in an array is equal to the number of rows in a 1D array. If you define the number of elements as anything else, you are mistaken.
    Message Edited by Dennis Knutson on 04-21-2009 10:40 AM

  • Count number of elements

    Dear All,
    probably there is somethin wrong in how I use the xmlsequence...
    I have a table called XML_WORD with a fiels with XML Docs called XML_CONTENT
    As you see what I want to try is to count the number of elements into a certain node...
    What is wrong in the statement I wrote?
    Thanks a lot and hope this will solve my problem with XML_SEQUENCE.
    Stefano
    SQL> desc XML_WORD
    Name Null? Type
    ID NUMBER
    WORD_ID CHAR(40)
    LEMMA CHAR(60)
    XML_CONTENT SYS.XMLTYPE(XMLSchema "http:
    //word.xsd" Element "word")
    STORAGE Object-relational TY
    PE "word5828_T"
    IS_ACTIVE NUMBER
    RELEASE_CODE NUMBER
    SQL> edit
    Wrote file afiedt.buf
    1 select count(*)
    2 from XML_WORD,
    3 table (xmlsequence(extract(XML_CONTENT,'count(/word/noun/sense[1]/collocation')))
    4* where ID=9973
    SQL> /
    from XML_WORD,
    ERROR at line 2:
    ORA-31013: Invalid XPATH expression

    Sure - thanks for the time and thoughts.
    I am using the schema you helped me with a bit ago, Re: unique constraint defined in xsd
    I have tried to create a stored function that will return the number of maps per username and also one that will return the map elements based on a passed username.
    CREATE OR REPLACE FUNCTION COUNTMAPS(userName varchar2)
    return number
    as numMaps number;
    begin
    select count(*)
    into numMaps
    from mapsetxml,
    table (xmlsequence(extract(object_value,'/mapset/map')))
    where existsNode(object_value, '/mapset[" ' ||userName|| ' "]')=1;
    return numMaps;
    end;
    I get the total number of maps, not the number of maps associated with a particular user.

Maybe you are looking for

  • Unable to dowload Adobe Photoshop

    I am getting the following error message, "The file archive part of Adobe Photoshop CS6 is missing. You need all parts in the same folder in order to extract Adobe Photoshop CS6. Please download all parts." I already archived the file but apparently

  • Video editing: windows vs photoshop

    Is there any way to get the audio from an AVCHD.mts video file to work in photoshop?  It seems kind of ridiculous that I can edit this file in Windows Movie but not Photoshop.  Any ideas?  Thanks

  • Adobe Word Help

    When in Word and I click Insert->Object->Adobe Document, if the pdf is more than one page, Word only dispalys the first page. When I double click on that page, I get the rest of my pdf in a reader window. Does anyone know if there is a way to insert

  • Replacing text on a picture with CS4

    I have recently taken a (jpg) picture of a real estate sign and I have been asked to replace the agent's first name with another first name. Can this be done with CS4? How? Thanks in advance. HK

  • Can DRM ebooks be read on a Sony E2 ereader

    On successfully downloading a DRM ebook onto our PC, it can be loaded onto the Sony E2 E-Reader, but cannot be opened. Adobe DRM is authorized.