Stored Value from different Dimension

<p>Hi, I am new to Hyperion Essbase and need some help from a kindsoul here.</p><p>My cube is as follows</p><p>- Measure</p><p>  - Variable Cost</p><p>  - Fixed Cost</p><p>- Division</p><p>  - SCN TOTAL</p><p>     - SCN R&D Div</p><p> </p><p>Variable Cost and Fixed Cost are Child of Measure and SCNR&D Div is child of SCN TOTAL and SCN TOTAL is Child ofDivision. I use Excel to get data from SCNTOTAL or SCN R&D Div, eg</p><p>                              SCNTOTAL                                     SCNR&D Div</p><p>Fixed Cost          34                        FixedCost          30</p><p>Variable Cost     45                         VariableCost     40</p><p> </p><p>But now I have a concern. I wish to store data from SCN R&D Div to Variable Cost so I think I need a formula to do </p><p>this but how?  i.e I need to store data from SCN R&D Div (different dimension) to Variable Costso when I use excel to get data from SCN TOTAL, I still able to getSCN R&D Div for Variable Cost.</p><p>                                SCNTOTAL</p><p> Fixed Cost          34                       </p><p>Variable Cost     40          </p><p> </p><p>Thank you.              </p>

<p>Hi Hutchia, thanks a lot for your reply. I give you a moredetailed of my cube structure.</p><p>-Measure</p><p>  - Miscellaneous Cost (+)</p><p>  <b>- Variable Cost (~)</b></p><p>     <b>- Utilities Cost (+)</b></p><p><b>     - Misc Cost-R&D Div(+)</b></p><p><b>  - Fixed Cost (~)</b></p><p> </p><p>- Division</p><p>  - SCN TOTAL</p><p>     - SCN R&D Div  ("SCN R&D Div 1" + "SCN R&D Div2")</p><p>     - SCN R&D Div 1</p><p>     - SCN R&D Div 2</p><p> </p><p>Miscellaneous Cost, Variable Cost and Fixed Cost are Childs ofMeasure. Variable Cost and Fixed Cost are newly added. UtilitiesCost and Misc Cost-R&D Div are Childs of Variable Cost</p><p> </p><p>In Division dimension, SCN TOTAL is Child of Division and SCNR&D Div is Child of SCN TOTAL.</p><p> </p><p>So when my users do a spreadsheet (Lock & Send) method, theywill use this spreadsheet below</p><p> </p><p>                                        <b>SCN R&D Div 1   SCN R&D Div 2</b></p><p><b>Miscellaneous Cost    30                          20</b></p><p> </p><p>If user do a spreadsheet display of the Database, it willshow</p><p>                                        <b>SCN TOTAL</b></p><p><b>Miscellaneous Cost    50                    </b></p><p> </p><p><b>or </b></p><p> </p><p><b>SCN R&D Div       Miscellaneous Cost      50</b></p><p><b>SCN R&D Div 1   Miscellaneous Cost      30 </b></p><p><b>SCN R&D Div 2  Miscellaneous Cost      </b> <b>20</b></p><p> </p><p>So now I need to add in 2 user information, Variable/Fixed Costaccording to my user request. There were some formulas including toget the desired results. Users wants the below report</p><p>                                        <b>SCN TOTAL</b></p><p><b>Variable Cost          </b>   <b>100</b></p><p><b>Fixed Cost</b>                   <b>50</b></p><p> </p><p><i>Problem: In the Variable Cost, Child, Utilities Cost is toget from SCN TOTAL and only Misc Income-R&D Div is to get fromSCN R&D Div which will add up SCN R&D Div 1 and SCN R&DDiv 2 for Miscellaneous Cost ONLY.</i></p><p> </p><p>Sorry to trouble you but I really can't think of a way out.</p><p>I was thinking of using Calculation Script after loading updata, calculate the value from Miscellaneous Cost which sums up SCNR&D Div1 and SCN R&D Div 2 and pass to Misc Cost-R&DDiv but how should I do that?</p>

Similar Messages

  • List values from different prompts into one.

    Hi All,
    We have OBIEE 11g and building Analysis out of Essbase cube. Here is our Requirement we need to build a Dashboard prompt which shows values from different tables.
    All these tables belong to one dimension and this has about 10 tables in it. So the prompt which we build should pick specific values from each table.
    I know we can build prompt for every table which we will end up with 10 prompts which doesn't look good so we need to show all the values of these ten prompts in single drop down (One Prompt)which we can use for refreshing the dashbaord.
    Say we have table names as Gen1.Organisation, Gen2.Organisation,.........Gen10.Organisation
    Thanks,
    Shashank

    are there any dependancies on the selections e.g if you pick Gen1.Organisation1 does this mean that you can only pick Gen2.OrgA or Org B?
    if there are no dependancies and you want all possible combinations across ten tables then you are looking at one huge drop down list !!

  • ECC5 How to read the stored value from Team Viewer

    Hi,
    How can I pick up the stored value from the team viewer from within ECC5?
    I would normally use FM 'HR_ASR_WDA_GET_EMPLOYEE'  to read mem id MSS01 but this doesn't exist in ECC5.
    All help appreciated.
    Rob

    Hi,
    How can I pick up the stored value from the team viewer from within ECC5?
    I would normally use FM 'HR_ASR_WDA_GET_EMPLOYEE'  to read mem id MSS01 but this doesn't exist in ECC5.
    All help appreciated.
    Rob

  • OBIEE Group By on 2 facts and concatenated columns from different dimensions

    Hi
    I have a different kind of problem involving 2 fact tables with different dimensional attributes.
    Fact 1 has Dim Attributes ( Cust,Facility )
    Measure - Gross Amount
    Fact2 has Dim attributes (Cust,Facility and Risk Group )
    Measure : Exposure Amount
    Since we have 2 facts with different dimensions,
    to exclude the 'Risk Group' dimension column from the group by for the Fact1,
    we set the 'Gross Amount' measure to total level (Risk Group Dimension ) in contents tab.
    So the values from both the fact tables appears in the same report correctly.
    But in the same report we have another requirement where the rating column from the customer dimension has to be concatenated with the ratings column in the facility dimension.
    We have to concatenate customer.rating with the facility.rating and display it in the report.
    when we just pull the individual columns from the dimensions into the report it works fine.
    But when we try to concatenate the 2 columns and show it in the report,
    the concatenated column does not appear in the select or the group by in the SQL Fact2.( Generated by OBIEE )
    The other fact1 has the concatenated column in the select as well as the group by clause ( Generated by OBIEE )
    As a result the report shows the concatenated values only for the results from the Fact1. But the results from Fact2 does not have the concatenated column values.
    The report should look like the below:
    Custor.Name,     Customer.Id,     Facility.Name,     Facility.Id,     Customer.Rating/Facility.Rating,     Risk Group,     Gross Amount,     Exposure Amount
    ===========    =========      ===========     =========   ========================      =========     ===========     ===============
    JPMC                123                    GROSS               123               08/10                                                  LNL                    45,000               25,000
    CLAIRE               456                    NET                    456               07/10                                                  RNK                    50,000               30,000
    Thanks,
    Chandra

    As suggested you really want to move your none-aggregated fact attributes to a logical dimension (using the same physical table as the logical fact). Map this in the BMM layer as a snowflake, Place a hierarchy on this dimension with (at minimum) Total -> Detail levels, then on the other fact table you want to include in the report, set the content level on your other fact measures to the 'Total' level for your new logical Dim and it will allow them to be present in the same report.

  • To get reference value from other dimension

    Hello,
    Database: Oracle
    BO : BOXIr3
    Have 2 questions:
    1. I want to subtract 2 values for a dimension based on dates like for mindate and maxdate i.e. (the value of dimension for mindate - the value of dimension on maxdate).
    Is it possible in WI?
    2. I want to get the count of a column.
    I drag 2 columns from Universe to report, 1st one is datetime column and 2nd one is a column for which I want count.
    Now in custom sql, if want to write one more column for get the count, getting error like" use 3 columns instead 2"
    I added COUNT(SITE_ID)
    Please suggest.
    Thanks & Regards,
    Vijesh Chandra

    1. I want to subtract 2 values for a dimension based on dates like for mindate and maxdate i.e. (the value of dimension for mindate - the value of dimension on maxdate).
    Is it possible in WI?
    ---> Create a variable for your maxdate, however you need to know the level grouping for you Maxdate and you have to use Calculation context. Your variable should have someting like  
                                  max( [dimentdate] ) in Report 
            the In Report tells the WebI to get the max data value of the dimension for the enire report or you may say your max date for the entire query
    2. I want to get the count of a column.
    I drag 2 columns from Universe to report, 1st one is datetime column and 2nd one is a column for which I want count.
    Now in custom sql, if want to write one more column for get the count, getting error like" use 3 columns instead 2"
    I added COUNT(SITE_ID)
    --> if you want to add another column from your query make sure it has a placeholder. if you have 2 objects in the query and you want to add 3 object with count(siteID), you need to add another object to make 3 and modify the SQL and assign your count to the 3rd column.

  • Can OBIEE handle hierarchy built from different dimension tables?

    Can I build an hierarchy with values at various levels appearing from other dimension tables in the model ?
    Thanks

    Hi,
    if you want to drill in Answers from an attribute of a dimension to the attribute of anothr dimension, you can use the Preferred Drill Path inside the level of an hierachy.
    For example:
    Dime Time
    -Year
    --Month
    ---Day
    Dim Geography
    -Continent
    --Nation
    ---City
    If you set in the Month level of the Dim Time the Preferred Drill Path to Nation, in Answer when you drill from Month you see Nation.
    I hope it helps.
    Regards,
    Gianluca

  • Get the Cookie Value from Different Application Servers

    Hi All,
    I am using the two applications with different application servers. How to get the cookie values from one to another application. Shall i know any sample codes?
    Thanks
    Maalan

    A cookie carries a domain name. The browser will only return cookies whose domain matches to domain to which the request is made, however although you can use a partial domain name providing it's not too generic. So, when you add a cookie you need to explicitly set the domain name on the cookie to, for example, your company suffix like ".acme.com", then the cookie should be returned to all the servers under that domain e.g. server1.acme.com and server2.acme.com.

  • Getting 2nd Least Value from Different Column

    Hi there All,
    I have one odd requirement.
    I hava table which has diffrent columns of numeric Datatype.
    The task is to get the least values from the table.
    I can take the least value by least(col1,col2,col3 ...) function.Until this stage it is fine.
    But also I have take 2nd least value and 3rd least value, which I am quite unsure how to get it.
    Looking forward for suggestions.
    Thanks in Advance.
    Regards,
    Ajeet

    The following is a generic solution that will allow you to select the nth least and allow you to pass as many column names as you like and will return null if the nth least requested exceeds the number of distinct values. The nleast function that I wrote uses the str2tbl function by Tom Kyte. I have included a demonstration of its usage below. The value returned for the 1st least is the same as that returned by the least function.
    This should have been posted on the SQL and PL/SQL discussion group of these forums, rather than the general database. I also posted the same response in the SQL discussion group of the Orafaq forums.
    scott@ORA92> -- test data:
    scott@ORA92> SELECT * FROM your_table
      2  /
          COL1       COL2       COL3
             1          2          3
             4          6          5
             8          7          9
            11         12         10
            15         13         14
            18         17         16
    6 rows selected.
    scott@ORA92> -- type and functions:
    scott@ORA92> create or replace type myTableType as table of number;
      2  /
    Type created.
    scott@ORA92> create or replace function str2tbl( p_str in varchar2 )
      2  return myTableType
      3  as
      4        l_str      long default p_str || ',';
      5        l_n         number;
      6        l_data    myTableType := myTabletype();
      7  begin
      8        loop
      9            l_n := instr( l_str, ',' );
    10            exit when (nvl(l_n,0) = 0);
    11            l_data.extend;
    12            l_data( l_data.count ) := ltrim(rtrim(substr(l_str,1,l_n-1)));
    13            l_str := substr( l_str, l_n+1 );
    14        end loop;
    15        return l_data;
    16  end;
    17  /
    Function created.
    scott@ORA92> CREATE OR REPLACE FUNCTION nleast
      2    (p_n        IN NUMBER,
      3       p_nums        IN VARCHAR2)
      4    RETURN           NUMBER
      5  AS
      6    v_nleast      NUMBER;
      7  BEGIN
      8    SELECT DISTINCT column_value
      9    INTO   v_nleast
    10    FROM   (SELECT column_value,
    11                  DENSE_RANK () OVER (ORDER BY column_value) AS num_rk
    12              FROM   (select *
    13                   from   table (CAST (str2tbl (p_nums) AS mytabletype)))
    14             WHERE   column_value IS NOT NULL)
    15    WHERE  num_rk = p_n;
    16    RETURN v_nleast;
    17  EXCEPTION
    18    WHEN OTHERS THEN RETURN NULL;
    19  END nleast;
    20  /
    Function created.
    scott@ORA92> SHOW ERRORS
    No errors.
    scott@ORA92> -- query:
    scott@ORA92> SELECT col1, col2, col3,
      2           LEAST (col1, col2, col3) AS the_least,
      3           nleast (1, col1 || ',' || col2 || ',' || col3) AS first_least,
      4           nleast (2, col1 || ',' || col2 || ',' || col3) AS second_least,
      5           nleast (3, col1 || ',' || col2 || ',' || col3) AS third_least,
      6           nleast (4, col1 || ',' || col2 || ',' || col3) AS fourth_least
      7  FROM   your_table
      8  /
          COL1       COL2       COL3  THE_LEAST FIRST_LEAST SECOND_LEAST THIRD_LEAST FOURTH_LEAST
             1          2          3          1           1            2           3
             4          6          5          4           4            5           6
             8          7          9          7           7            8           9
            11         12         10         10          10           11          12
            15         13         14         13          13           14          15
            18         17         16         16          16           17          18
    6 rows selected.

  • How to insert values from different region into one table

    Hi everyone
    I have created a page which contains 4 html regions like region1,region 2 ...region 4
    in region 1 i created 2 text items like (emp_name,emp_id).
    in region 2 i created 2 date fields (start_date,end_date).
    In region3 i created a tabular form which contains(job , hire_date).
    in region 4 i created a textfield (%of Hike)
    So i want to create a button(submit) .when i press the button it will insert all the informations provided by the user in different regions will be inserted to a table called employee_information.
    Can i do this?
    If it is possible please tell me how to do this
    if not then tell me any alternative solution.
    Thanks,
    Regards,
    Sabyasachi

    Sabyasachi wrote:
    Hi fac586
    Can you please tell me step by step how to do it or can you please make an example in apex.oracle.com and give me the credentials so that i can know clarify my doubts.1. Create a Form using a Wizard. This will create the items and processes necessary to retrieve data from, and perform DML on, the table. The items will be contained in a single default region.
    2. Create custom HTML regions on page.
    3. Move items and buttons from the default region created by the Form Wizard by changing the Region value in the "Displayed" section of the item attributes page, or Page Items page; or reassign items to regions using the Reassign Region Items page.

  • Quantity Conversion from different dimensions

    Hi,
    I am facing one problem regarding the quantity conversion.
    In my report, I have a field for quantity which contains different units like Kg, L, etc
    Now, i want to convert these quantity into Kg -> MT and L -> KL. which I tried from RSUOM by creating the conversion type but it is not helping as the field contains different units.
    Please guide me how I achieve this.
    Thanks,
    Nitesh.....

    HI,
    It should work through RSUOM....What setting di dyou select?
    You should select input currency from data record...
    And then target currency you can select from variable...

  • How to generate a text file with values from internal table

    hi,
    can anybody help me out to get the values from different internal table written into a text file.
    regs,
    raja

    used gui_download,ws_download,cl_gui_file_save.
    data: ld_filename type string ;
    ld_filename = 'c:\demo.txt'.
    DATA: begin of it_datatab occurs 0,
    row(500) type c,
    end of it_datatab.
    HII
    call function 'GUI_DOWNLOAD'
    exporting
    filename = ld_filename
    filetype = 'ASC'
    tables
    data_tab = it_datatab[]
    exceptions
    file_open_error = 1
    file_write_error = 2
    others = 3.
    gui_download

  • How to update data in database from different region of the same page

    Hi,
    I have pepared two regions of tabular form based on the same table,each region is selecting different columns of the same table.
    I want to update the values from different regions in the database using single submit button.
    Regards
    Shashi

    I presume that the two regions are working fine with their individual buttons and your issue is how to make them both save with one button.
    Here is how
    a. You will have 2 ApplyMRU and 1 ApplyMRD processes for each of the regions. Right? Lets say you have 2 "Save" (i.e. label=Save) buttons, one has name SUBMIT and the other SAVE ( SUBMIT and SAVE being the requests that will be sent when they are clicked , respectively)
    b. Make the Display condition on one of the buttons 'Never'. Now it won't show when you run the page. Lets say you made SAVE's conditional Display 'Never'
    c. Go and change the condition on all ApplyMRU and ApplyMRD processes from "When Button Pressed" to "Request is contains in Expression1". In Expression1 enter SUBMIT,SAVERegards

  • How to get value from one context node to otehr contect conde in diff views

    Hello Guru's
    We have a rek which is of getting the value from one context node to other context node,
    for example there is Total value in BT111H_OPPT/ITEMLIST (One context node) we need to have the same Total value in the in BT111H_OPPT/DETAILS (other context node) automatically
    Inputs are highly appricated.......

    Hello,
    Thanks for your Reply
    But my rek is i want to get value from different views
    eg BT111H_oppt/itemslist(contex node - BTADMINI) field net value to BT111h_opp/Details(Context node - BTopporth)
    for this which method should i use to chive this.
    Thanks..

  • How to access form objects from different class?

    Hello, I am new to java and i started with netbeans 6 beta,
    when i create java form application from template i get 2 classes one ends with APP and one with VIEW,
    i put for example jTextField1 with the form designer to the form and i can manipulate it's contents easily from within it's class (let's say it is MyAppView).
    Question>
    How can i access jTextField1 value from different class that i created in the same project?
    please help. and sorry for such newbie question.
    Thanks Mike

    hmm now it says
    non static variable jTree1 can not be referenced from static context
    My code in ClasWithFormObjects is
    public static void setTreeModel (DefaultMutableTreeNode treemodel){
    jTree1.setModel(new DefaultTreeModel(treemodel));
    and in Class2 it is
    ClasWithFormObjects.setTreeModel(model);

  • Systimestamp value in different timezoon database server

    Hi Experts,
    There is a SQL (select systimestamp from dual; )
    If we run above sql between PST and EST two different timezone database serves at same time, does SQL return different value from systimestamp?
    if return same value from different timezone database server, why?
    Please explaining!
    Thanks
    Jim

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions173.htm#SQLRF06125
    SYSTIMESTAMP returns the system date, including fractional seconds and time zone, of the system on which the database resides. The return type is TIMESTAMP WITH TIME ZONE.systimestamp returns database server OS's timezone.
    if server is in PST systimestamp will return PST.
    if server is EST systimestamp will use EST.

Maybe you are looking for