Dimension is built dynamically

what is the build method to be used for Ex- dimension is built dynamically with every dataload i.e, a new week adds up as a child of a member

Build method is decided based on the format of the input dimension file.
If the file is in top down format we will go for Generation Reference
If the file is in bottom up format we will go for the Level Reference
If the file is in the recursive format we will go for the parent/child referance.

Similar Messages

  • Can I create "Dimension value range" dynamically  from data?

    Hi,
    Can I create "Dimension value range" dynamically  from data?
    Regards

    You need to have a Database Link between two servers. Then you could do execute that statement without any problem. Try to create a database link with the help of
    CREATE DATABASE LINK command. Refer Document for further details

  • Project structure built dynamically?

    Hey,
    This is something I frequently wonder about when taking over
    someone elses work. I've got an existing structure for a project -
    a bunch of classes all in different folders matching their class
    definitions. What would be nice is if Flash behaved like Visual
    Studio and kept it's project structure up to date like solutions
    can be kept in VS. Since it doesn't I have to go through typing in
    folder names all over the place and adding files at the end of
    every path.
    So does anyone know if there is something that will help me
    create a project from a directory?

    Hi Hiren,
    Please check this BAPI.
    BAPI_PROJECTDEF_CREATE - Create Project Definition                                              
    BAPI_PROJECTDEF_EXISTENCECHECK - Check whether a project definition exists                                
    BAPI_PROJECTDEF_GETDETAIL - Read detailed information for the project definition                     
    BAPI_PROJECTDEF_GETLIST - Returns a container of project definitions                               
    BAPI_PROJECTDEF_UPDATE - Change Project Definition                                              
    Hope this will help.
    Regards,
    Ferry Lianto 
    Please reward points if helpful.

  • Calculation Suggestion plz!!!

    Hi,
    I want do a calculation on a period dimension member. As per our requirement here and the cube being a weekly one, the period dimension is designed the following way,
    Period
    2010
    28-Apr-2010
    21-Apr-2010
    14-Apr-2010
    and this dimension is built dynamically with every dataload i.e, a new week adds up as a child of 2010 based on the date of refresh. So the requirement is that everytime 2010 has to displayed as the data of most recent week, i.e in the above case 2010=28-Apr-2010. Is there any function to use in calc script to pick the max of members or atleast to pick the first member coz I have the sorting to display the latest the first. I know we could use a substitution variable like &CurrWk but i dont want to update the Substitution Variable every Week manually and complete process is supposed to be automated. Can someone make suggestions on this.
    Thanks.

    Depending on the order of the members in the dimension, you could tag the accounts as time balance first or last with suppress missing. Then the 2010 will represent the lfirst or last child value. This could have issues if some items do not have values for a particular week, then it would pick up the previous week value.
    In ASO cubes, there are firstchild and lastchild functions. and I've seen some code to pick the last know value, but the same does not exist in BSO cubes.
    The first member is easier, just make 2010 a label only and it will pick up the first child. Or how about setting your source during the load to set the unary operators. For the current week they would be set to + and all other weeks would get changed to ~

  • Setting 1 dimension in ROLAP mode cause issues, the system try to filter on dynamic set names!

    Hi,
    I suffer a strange behavior.
    I have an SSAS 2014 solution which works fine.
    I do some test to convert 1 dimension in ROLAP mode.
    (all the other dimensions and partitions are MOLAP only)
    after this I cant process any cube!!!
    even a process clear or structure runs forever!!!
    the server call the dimension and try to filter the attributes using the name of dynamic sets setup in my cube! a real non-sense!
    I have a dynamic set in my cube called "SelectedStores"
    and during the process clear or structure, SSAS try to filter my dimension using this dynamic set.
    so for sure this values doesn't exists in my dimension.
    Also a lot of errors like the following are generated:
    OLE DB error: OLE DB or ODBC error: Conversion failed when converting the nvarchar value 'SelectedStores' to data type int.; 22018.
    its a big non-sense!!!
    any idea on the cause for this?
    thanks.

    Hi Willgart,
    According to your description, you get conversion error after you change the storage into ROLAP. Right?
    After you change into ROLAP, it seems there is something (structure/definition) changed in the underlying table. Please use the BIDSHelper to check the issue:
    Dimension Data Type Discrepancy Check
    Dimension Health Check
    In this scenario, does you dynamic set is used in calculated member and involve both MOLAP and ROLAP dimension? It may cause some mismatch issue. Please refer to links below:
    Error Messages during process of ROLAP dimension when using DYNAMIC SET
    in CALCULATE MEMBERs
    SSAS cube failing for storage mode Rolap
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Dynamically checking ID's in a dynamically built table problem ??

    Im creating a table dynamically using JSP and Javascript....
    its a basic loop that goes through 5 iterations...as follows
    what is happening here is it dynamically in the body creates my
    table and when it hits the the row that has i = 1 or i = 3
    it puts out a checkbox on the table....the code between the <%
    and %> is the jsp portion..this runs on a server....I have two strings CheckBox1 and CheckBox3 which get assigned to two different table rows id's ...so for the first row the table gets created with no checkbox strictly text for the second row it has a checkbox and the forth row has one...
    now what I want the code to do...is if the user hits a button on my page...
    I want to call a javascript function that will go thru the rows and determine
    if it has a checkbox and if so....if that checkbox is checked off. The called function obviously will not know the exact id at the time...since this is built dynamically sometimes I will have CheckBox0 containing a checkbox...Ct will all depend on the data...is there a way to check whether a row has an id
    and if so what that id is..and also if it is a checkbox and finally if its checked off ????
    <%! String checkString1 = null;
    String stringInt = null;
    String checkBoxText = "CheckBox";
    int x = 0;%>
    <% for(int i = 0;i < 5; i++)
    {%>
    <%stringInt = (new Integer(i)).toString();
    checkString1 = checkBoxText + stringInt;
    String[] stringnames = new String[2]; %>
    <tr class="checkboxtext" id=chkb1>
    <td width=100 valign="top" nowrap >
    Corporates</td>
    <td width=60 valign="top" >202
    </td>
    <td width=100 valign="top" >111021AC5R</td>
    <td width=190 valign="top" nowrap class="displaytext">
    BRIT TELECOM PLC </td>
    <td width=85 valign="top" align=right>12/15/01
    </td>
    <td width=70 valign="top" align=right>8M</td>
    <td width=70 valign="top" align=right >$105.5000</td>
    <td width=100 valign="top" nowrap align=right>
    12.5000</td>
    <% if(i ==1 | i ==3)
    {%>
    <%stringnames[x] = checkString1;
    System.out.println("your checkstring value is " + checkString1);
    System.out.println("your mmmy value is " + stringnames[x]);
    x = x + 1;
    %>
    <td width=200 valign="top" id=na1 onMouseOver="tryonmouseover(this)"; onMouseOut="nd();">Needs Approval
    </td>
    <td width=20 valign="top" ><Input type="checkbox" value="OFF" Name="check1" id=<%= checkString1 %> onclick="checkboxclickunclick(this)");" onMouseOver="tryonmouseover(this)"; onMouseOut="nd();">
    <%}
    else
    {%>
    <td width=200 valign="top" class="displaytext">Executed
    </td>
    <td width=20 valign="top" class="displaytext">N/A</td>
    <%}%>
    </td>
    </tr>
    <%}%>
    </table>
    further down is this code...
    <td width="33%" align=center ><INPUT TYPE="BUTTON" VALUE="Approve all" id=apprall onclick="window.approveall()" class=actionbutton</td>
    which will call approveall(). This is the function that I want to go
    thru the table rows....and determine if there is a checkbox and whether it was checked off ???? Thanks for any help .....

    I'm not sure myself how to do what you're asking for, but using DOM (Document Object Model) you can gain access to all objects of an HTML document. You should be able to give your table an id and then access all the rows of the table using JavaScript and DOM.
    Or, you could probably just find an easier way to accomplish what you're asking for. Maybe just use the JavaScript onClick event to append your values to the query string, or whatever it is that you're trying to do.

  • Newbie Question: How Freeze Dimension Settings work?

    Dear all:
    For some reason, I couldn't figure out how "Freeze Dimension Settings" of dynamic template work on overriding members. I looked into both row and column EVEXP function and in the data region EVGTS, and none of the Current View column under Freeze Dimension Settings was ever selected. 
    Can someone clue me out? Thanks a bunch!
    Sincerely,
    Brian

    Hi,
         The "Freeze dimension section" is getting all the dimension values from CV. This information is used into "Expansion Settings" for the Member definition (using VLOOKUP function - freeze dimension is view as an array of dimension and values and the value is taken according with the dimension selected into Dimension field).
    Hope this can help you to understand better how dynamic templates is built.
    Regards,
    Mihaela

  • Assigning Aliases to members dynamically

    Hi there.... I have a market dimesion which is build dynamically.....But now I wat to creat alias names for the members in the market dimension dynamicaly using a text file........ is it possible..... or do we have to give alias names while we building the dimension itself......?
    NY     New York
    MA     Massachusetts
    FL     Florida
    CT     Connecticut
    NH     New Hampshire
    CA     California
    OR     oregon
    WA     Washington
    UT     Utah
    NV     Nevada
    TX     Texas
    OK     Oklahoma
    LA     Louisiana
    NM     New Mexico
    IL     Illinois
    OH     Ohio
    WI     Wisconsin
    MO     Missouri
    IA     Iowa
    CO     Colorado
    NY     New York
    is this flat file enough for giving alias names for members and how can we map members in rules file..
    ( I did create a rules file but it is showing error while validating " there are unknown members or no numbers in field 1" .... I mapped this field to particular Generation or Level reference.....But still it wont go through........)
    Any clue.........?
    Thanks and Regards,
    Sri-Oracle

    Do you have this dimension already built in Essbase?
    If not, you're going to need to provide a parent member to load these states to. It could be the dimension itself (Geography, Region, States) or it could be an already existing member in the dimension that you point these members to. This can be done through the dimension load rule.
    If you don't already have a potential parent member, you're going to need to create on in the dimension load rule.
    Some options:
    1) Create a text column in the dim load rule to fake out the parent (for generation/level build).
    2) Add a row for the parent and make this parent/child (One row if parent is dimension name, more than that if you have a specific location in an already existing hierarchy)
    3) You can also go to Dimension Build Settings->Build Method->Add as child of and pick an existing member in your hierarchy.
    Otherwise, it looks as though your membername/alias combinations are good to go.
    Regards,
    Cameron Lackpour

  • I want to create an HTML table of img maps dynamically from DB retrieves...

    Hi,
    How do I build dynamic HTML code in a function and then populate a HTML region to render it.. (did I say that right?)
    I want to create an HTML table of img maps dynamically from DB retrieves...
    Thank you, Bill

    Vikas and Andy,
    Using Andy's code I'll go further...
    I want to create a function that returns HTML code that has been built dynamically.
    create or replace function "GET_CH_TABLE"
    return VARCHAR2
    is
    HTML_STRING VARCHAR2(2000); -- Create a string variable
    BEGIN
    HTML_STRING:= '<table align="center">' ||chr(10)||
    ' <tr>' ||chr(10)||
    ' <td> TEST ' ||chr(10)||
    ' /td>' ||chr(10)||
    ' /tr>' ||chr(10)||
    ' tr>' ||chr(10)||
    ' td>' ||chr(10)||
    ' a href=https:// ............etc. etc.. building the <TABLE> and <TD> cells having whatever I want... example.. changing the name of an image dependant on something else..
    return HTML_STRING; -- output the string to the region
    --also tried htp.p(HTML_STRING);
    END;
    =====================================
    Building the dynamic HTML is not my problem. It is how to get it into a region and to be read as HTML from a function call...
    I'd like the source of the region to be the returned HTML from a function call to GET_CH_TABLE();
    but it gives error:
    ORA-06550: line 1, column 7: PLS-00221: 'GET_CH_TABLE' is not a procedure or is undefined
    ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    Debug:
    1: begin
    2: GET_CH_TABLE();
    3: end;
    I

  • Dynamic table in a pl/sql script

    Hi everybody
    how can I design a sql query in a pl/sql script when the table I want to access is built dynamically ?
    for instance
    select to_char(sysdate,'MON')
    into v_month
    select * from table_'v_month' --> this is not working
    Thanks for your replies
    Alain

    You will need to use dynamic sql to create a sql statement in PL/SQL.
    If you have 8.1.x, you can use EXECUTE IMMEDIATE. You would need to have something like this in you proc.
    SELECT TO_CHAR(sysdate,'MON')
    INTO v_month;
    tname:= 'table_'||v_month;
    sqlstr := 'SELECT * FROM '||tname;
    EXECUTE IMMEDIATE sqlstr;If you have 8.0.x or less, you will need to use the DBMS_SQL package. This is a little more complicated because you need to do a few more steps, but the principle is similar.
    You can see how to use dynamic sql in the PL/SQL manuals, and in the Application Developer guide.

  • Dynamic HTML Content in iFrames of a BSP application

    Hey Folks,
    I am currently having to build a context sensitive URL, which is built dynamically and accordingly load the page within a given view during runtime. The URL points to a simple HTML page.
    The application whcih is embedded in the view is a BSP application. The BSP application comprises of an iFrame which should hold the value of the URL built, within the attribute "src". Is there a way in which the value of this attribute "src" of the tag "iframe" can be populated during runtime for BSP applications?
    Please do let me know of your thoughts on this.
    Thanks and Best Regards,
    Puja.

    @Rodrigo,
    Did you make sure you have included the end tag </iframe>? am not sure about this, but maybe you would need to include the htmlb page extension too?
    <%@ extension name="htmlb" prefix="htmlb"%>
    @Others,
    My problem is that the BSP in question has been generated by a framework, the content of which i need to tweak programatically.
    I forgot to make a mention of the crutial aspect that, the Page Type of my BSP application is 'View'. I could have used the oninitialization event to my convinience , had the page type of the application been 'Page with Flow Logic'. I do not have the various event processing options such as 'onInputProcessing' or 'OnInitialization' or 'OnLayout' here which I can work upon.
    Has any body worked with BSPs of type 'View'. Any help would be much appreciated.
    Thanks and Best Regards,
    Puja.

  • Help with Dynamic Calc

    Hello, could someone help me why after creating the dynamic calc member below, our calc script somehow get stuck/ ran very very slow...
    Below is currently our Hierararchy for Division dimension:
    Division Dimension
    Division Rollup ( Never Share)
    Division 1 ( Never Share)
    Division a (Never Share) level 0
    Division b (Never Share) level 0
    Division c (Never Share) level 0
    Division 2 (Never Share)
    Division d ( Never Share) level 0
    Alt_Division without cd (Dynamic Calc) ...and the member formula I did is
    ="Division Rollup" - "Division c" - "Division d" ;
    After I refresh, the Alt_Division without cd went fine, calculated correctly when I retreive in Essbase Escel , however, the big problem was, when we run our aregular Essbase calc scripts, it somehow got stuck with Alt_Division without cd member and the calc went very very slow almost to the point that it just stopped calcing.
    Could you please let me know if there is something wrong with my dynamic calc member above... Should the Alt_Division dynamic calc should not be a sibling of the Division Rollup member? or I could not use the "Division Rollup" member .
    Could you please recommend a better way of writing the dynamic calc member ( and it's position in the Hierarchy) ... without me aggregarting the dbase ...( I like dynamic calc since it aggs on the fly).
    Please advise.
    Thanks.

    Few Things...
    I am assuming Division is a sparse Dimension. A Dynamic Calc member formula on a Sparse dimension member will surely take lots of time.
    Suggestion 1:
    Create an Alternate hierarchy sharing c and d. Change the consolidation operators to get the C - D at Alt_Hierarchy.
    Suggestion 2:
    Make the member Store and put the desired calculation in a Calculation script rather than having it as a dynamic calc member formula.
    Hope this helps.
    Madhavi

  • How to use dynamic time series in formula

    I have Time dimension with active Dynamic Time Series for Y-T-D.
    I'd like to use it in member formula - e.g. IF (@ISMBR("Y-T-D(Aug)")) - but this doesn't work as I get error message Unknown variable or member name.
    Any idea how to work with dynamic time series members in formula?
    Still using Essbase 6.5 X-(.

    As Glenn mentioned, I also don't believe you can reference a DTS member in a formula, you would have to calc the YTD. Take a look at the @PTD function to calc Period to date numbers, I believe this function was available in v6.
    Having said that, we're assuming you want to calc a ptd number, but your example was based on an IF @ISMBR(). So the question becomes what are you trying to do? Given what I assume your time dim looks like, what would be the difference between @ISMBR("Y-T-D(Aug)") and @ISMBR("Aug")

  • Children not appearing in drop down of dimension in multiple hierachy

    Hello,
    In 4.2 we had parenth1 and parenth2 and one dimension table (at least I think).  If parenth2 had multiple layers of children (children that were parents) you saw them in the drop down lists of the dimension for the second hierarchy.  In 5.1 it appears the architecture changed with dimensions and multiplie heirarchies.  I do not see children of children in my alternate hierarchies as before.  In looking in the dim"dimensionName"_H2 table I see the correct information.  The data seems to be in the tables but drop down lists for the dimension are not showing children of children if this makes sense.
    Ex.in 5.1  I'm expecting to see in  Hierarchy2 09 -> Child 099 ->Grandchild 0991
          but I'm only seeing Hierachy2 09 -> Child 099
    The Grandchild 0991does not appear. (Grandchild if you will of Hierarchy2)
    In Hierachy1 of the same dimension (or what use to be Parenth1 in 4.2) you see all parents and their children and children of their children etc.   Note:  this dimension is built using a dimension build ssis pkg.
    I know my explanation is probably wordy and confusing but hopefully someone can make sense out of it.  Any feedback, would be greatly appreciated!
    Vikki

    Hi Vikki,
    The way the memberselector shows the hierarchies to end-users is not changed from V4 to V5, so I think there might be something wrong in your dimension.
    Please try to copy the contents of the mbr<dimname> table to you membersheet to see more clearly what is going wrong, also try to process it from there (it will give you more hints compared to using a ssis package to import a dimension.
    Another idea is to look to Apshell, some dimension have multiple hierarchies, you could compare them to your own to see what is wrong.
    Alwin

  • Help w/ dynamic sql in form based on proc.

    First, I'm not the most brilliant at this so I might be missing something basic.
    I have a form based off a stored procedure. In that procedure, I have an update statement that is built dynamically from session variables. It won't work because I am putting the update statement together from variables. How can I get around this?
    example:
    Here is the problematic code in my procedure:
    update my_schema.my_table_synonym
    set
    v_myfield = v_myvar
    where myid = v_myid;
    I am pulling the variables from session storage I created earlier in the application. It doesn't seem to like that the field is a variable... is there a way to do this? I would prefer to use this in my application dozens of times rather than copy it dozens of times with slight changes.

    ok, nevermind... I figured my problem out.
    All I needed was something like this:
    v_sql := 'update mytable set ' || myfield || ' = ''HELLO';
    EXECUTE IMMEDIATE v_sql;

Maybe you are looking for

  • Problem printing to networked printer

    I have a strange printing problem: 13" unibody MacBook running OS X 10.6.3 Dell dimension desktop PC running Win XP Home Edition (SP3) Wireless LAN connecting the two computers above via Time Capsule wireless base station. Canon Pixma MP540 printer c

  • Setting the status code on 404

    Hi All, I have my web.xml file pointing 404 errors to /404.jsp on my web server (Apache/Tomcat). The code for 404.jsp is <% // Set the header response to a 404 and no-caching response.setStatus(response.SC_NOT_FOUND); response.setHeader("Cache-Contro

  • Problems going to sleep after 10.5 upgrade and new memory

    Looking around the forums I notice lots of problems with sleeping computers and Leopard. Here's my story. After upgrading my eMac with new memory (now at 1 GB) and Leopard, I have problems getting it to go to sleep after logging out. What happens is

  • Help needed on how to assign string value to variables in process designer

    Hi, I am using LC Workbench 8.0.1 version, I have a business requirement where in my form I have a dropdown box which contains two options i.e, 1. Accept 2. Decline If the user selects Accept, I have to route the form to user some "x" or if the user

  • GOS - Store Business Document

    Hello, For a maintanance work order, I want to store a document at GOS -> Create - > Store Business Document in transacion IW32. Is there any standard FM available to achieve this ? Regards, Anand