How to use Solve Order in Dimension level formula

Hi All,
Can anyone explain me how to use "Solve order" in formulas defined in dimension?
Regards,
Kapil

Hi,
Let us consider the following:
There are 3 members in your account dimension, Amt, Rate, and Prod. The data looks like
               Jan     Feb     Mar     Apr     May
Amt        100     10       20       30       40
Rate       10       20       10       20       30
Prod       1000  200     200      600     1200
The above values of the Prod will be displayed if the measure in CV is set to periodic. However, if you change the measure in CV to YTD and change the time dimension to dec, then you should get the below result.
              Dec
Amt       200
Rate      90
Prod      3200
This value is nothing but the total of the entire year.
Hope this helps.

Similar Messages

  • How to use error table in mapping level?

    Hi all
    Any one please tell me how to use error table in mapping level or how to handle the errors in mapping.
    I am creating one error table in oracle but i dont know how to use it in mapping.
    Thanks in advance.
    Kumar

    Hi Kumar,
    You need to use Error Table along with the Data Rule .
    Error tables are used with Logical error handlers (Data Rules). Detailed description on using data rules is explained in the following document
    http://www.oracle.com/technology/products/warehouse/pdf/OWB10gR2_ETLandBusinessRules.pdf
    In a nut shell usage of error tables is as follows.
    1. Create a data rule associate it with a table (Target table or table in which you load data).
    2. Use the table in a mapping as target table.
    3. Deploy the table and mapping.
    Now in the target schema one more table will be created with the name <target table name>_ERR. When a mapping is executed the data which violates the data rule gets into this error table.
    The following has to be done to have error table name of customers choice.
    1. Right click on the table and click configure.
    2. Give the table name in "shadow table name" section.
    3. Deploy the table.
    4. Use this table in a mapping. Now in the mapping on this table properties in "Error Table Name" section the name of the table specified in "shadow table name" will be populated.
    Thanks,
    Sutirtha

  • How to use a cumulative value in a formula

    hi, experts
    I have a question about how to use a cumulative value in a formula. Below is the example:
                            wk1   wk2   wk3   wk4   wk5....wk n
    sales order        5       10    15      10      5
    build plan          8       8     10      15     10
    result                3       1      -4       1       6
    result row is what I want to get, the formula is:
    wk1 result = wk1 build plan - wk1 sales order
    wk2 result = wk1 build plan + wk2 build plan - (wk1 sales order  + wk2 sales order)
    wk3 result = wk1 build plan + wk2 build plan + wk3 build plan - (wk1 sales order  + wk2 sales order + wk3 sales order)
    I've already ticked the cumulative in properity of the key figures. It seems like that the cumulative results only can display, but can't be used in formula. Could you please help me? Many many thanks !!

    Hi
    In properties of that formula, there is option called 'formula collision' there you select 'formula from compiting result'. I think this will solve the problem.

  • How to use dynamic database item in Fast formula

    Dear All
    How to use Element Pay value in Fast Formula
    Element Name: Transport_Allowance
    Input Values : Name Units User Enterable Database Item
    Pay Value Money No Yes
    Amount Money Yes Yes
    Balance Feeds : Value Name Balance Name Units
    Pay Value Transportation Amount Money
    Formula
    DEFAULT FOR ASG_SALARY IS 0
    DEFAULT FOR TRANSPORTATION_AMOUNT_ASG_RUN IS 0
    ALIAS ASG_SALARY AS Emp_Salary
    ALIAS TRANSPORTATION_AMOUNT_ASG_RUN AS Emp_Trans_Amt
    V_CALCULATED_SALARY = Emp_Salary + Emp_Trans_Amt
    RETURN V_CALCULATED_SALARY
    Using the above formula, I got only Basic Salary only
    How to get the Basic Salary + Transportation allowance in the return value
    Please help me..
    Thanks in advance

    Please check whether the priority of the element with which the fast formula is attached has a priority higher than the Transport_Allowance. If not then cahange the priority of the element to a prriority higher than Transport_Allowance.
    HTH

  • How to know on which time dimension level we are ?

    Hello,
    I would like to know is there a variable or a mean to know dynamically on which time dimension level we are in order to use that in a CASE WHEN clause ?
    By using a sort of aggregation tables in which one of the column contains the name of the level, I could know on which level I am but I can't use that for drill down. What I mean :
    Tab1 :
    'Year' as typelevel, year
    Tab2 :
    'Month' as typelevel, year, month
    In BMM, I have made one logical table with as Source tab1 and tab2 and as columns typelevel, year and month.
    tab1 has in content column the year level
    tab2 has in content column the month level.
    So when in Answers I retrieve
    typelevel, year
    the result is : 'Year', 2008
    and when I request : typelevel, year, month
    the result is : 'Month', 2008, 1
    But if I want to drill from year to month in order to have :
    'Year', 2008
    and then after drill
    'Month', 2008, 1
    it is impossible as a filter on typelevel='Year' is added on the month level, so it retrieves 0 columns.
    If someone has an idea on how to do that it would be very great.
    Thanks in advance for your help.

    Hi Supriya,
    OOTB I think you can use SharePoint designer, but I would suggest  custom code to iterate to all pages, and get the lists that are associated with these pages.
    http://stackoverflow.com/questions/633633/sharepoint-how-can-i-find-all-the-pages-that-host-a-particular-web-part
    another one would be if those lists were never used and you can check for list with empty data.
    I would use Get-SPLists to get all of the lists to check for zero items.
    http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/15/use-windows-powershell-to-manage-lists-in-sharepoint-2010.aspx
     http://sharepointrelated.com/2011/11/28/get-all-sharepoint-lists-by-using-powershell/
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How to set user security on dimension levels?

    Hi, there. I am considering setting use access right to specific levels on the branch dimension.
    Suppose there are four companies on level 1 of the branch dimension. I would like to limit users only access their own company.
    How should it be done in share service? Thanks.

    Thanks both.
    However, I encountered another problem. After created users in shared service, I could not see it in
    application even after refresh secutiry.
    Another problem is that I could not apply filters by Essbase administration console. The Edit User/Group access function is disabled.
    Therefore, even I selected a user I could not apply the filter. Does anyone know how to enable the function?
    Thanks in advance.

  • How to use Round off function in TAX Formula

    Dear All,
             I have to do Round off in the Tax Formula. Hence I was suggested by the SAP Forum Team to use Round off function in the Tax Formulae.
             But sir I don't know how to use Round off function in the Tax Formulae.
            For Eg. BaseAmt = Total
                        TaxAmt = BaseAmt * Rate
               Now within this Eg. How will i use the Round off function and where i will use it.
               Please guide me with example.
      Regards
    Hitesh Parsawala

    Hi Hitesh,
    you can do like this
    Cess_ST_TaxAmt=Round(Cess_ST_BaseAmt*Cess_ST_Rate,0)
    where you can introduce rounding function by choosing from dropdown available in Operation and by click on Insert.
    It will post following in formulla window
    Round (Number, Decimals as Number)
    where in parameter you have to give 1.Number-which is to be round and 2.Decimals as Number-as per your requirement like by 2 decimal or 0 decimal
    If required give me call,
    BR
    Samir Gandhi

  • How to use DFF value in BG_ABSENCE_DURATION Fast formula

    Hi All,
    I would like to know how can we use DFF values in BG_ABSENCE_DURATION fast formula.
    Can we pass them as input values?
    Also, when we use them as DATABASE ITEMS how does Fast Formula identifies them.
    For example I have created a DFF value HALF_DAY that can take either "YES" nor "NO".
    I tried to use that as input value but that didnt work, not sure if it is possible at all or not.
    I also tried to use that as Data Base ITEM, as follows:-
    IF (ABSENCES_HALF_DAY WAS DEFAULTED ) then
    duration = 'FAILED'
    invalid_msg = 'DFF not working'
    Any help will be much appreciated.
    Thanks,
    Avinash
    but i am getting following error when i access SSHR
    Formula BG_ABSENCE_DURATION: ORA-01403: no data found ORA-01403: no data found Cause: During the PL/SQL execution part, an Oracle error was detected. Action: Please refer to your system administrator.

    Thanks Vigneswar  and Avaneesh for your helpful comments,
    Actually I want to retrive the DFF value that I pass while applying the Leave Request and not that already stored in the data base. I checked and found that the query you have mentioned is retriving the data from base tables.
    select target.ATTRIBUTE6 -- Attrinute6 is database item ABSENCES_HALF_DAY+
    from    per_absence_attendances                target,+
    per_all_assignments_f                  ASSIGN+
    WHERE   sysdate BETWEEN ASSIGN.effective_start_date+
    AND ASSIGN.effective_end_date+
    AND    ASSIGN.assignment_id                  = 647--&B2+
    AND    ASSIGN.assignment_type                = 'E'+
    AND    target.person_id                      = ASSIGN.person_id+
    AND    target.absence_attendance_id  =+
    *(select max (absence_attendance_id)*
    from   per_absence_attendances+
    where  person_id   =  ASSIGN.person_id+
    and    date_start <=  sysdate+
    I have only added folloing lines In my BG_ABSENCE_DURATION FF
    DEFAULT FOR ABSENCES_HALF_DAY is 'XX'+
    if (1 = 1) then+
    duration = 'FAILED'+
    invalid_msg = 'DFF not working: '+ABSENCES_HALF_DAY+
    But evry time output is *"DFF not working : Yes"* no matter what the value I am passing while applying leave. This value "Yes" is stored in DFF attribute 6 for the test employee and I guess FF is retriving this value from DATABSE not from current transaction.
    Could you please help how to retrive run time data.
    Thanks,
    Avinash

  • Attribute's order in dimension levels

    Hi:
    I want to change the order of attributes in the levels of a dimension generated in OWB. The creation dimension script orders the attributes alphabetically but I want to get the order we want without make nothing manually, because during the OLAP metadata export those manually changes would have to be applied, but I don't know how to do it.
    Here's an example:
    The original script is:
    CREATE DIMENSION "OPERADOR"
    LEVEL "OPERADOR" IS "OPERADOR"."OP_ID"
    LEVEL "TIPO" IS "OPERADOR"."TIP_TIPO"
    HIERARCHY "ROLLUP_OPERADOR"(
    "OPERADOR" CHILD OF
    "TIPO" )
    ATTRIBUTE "OPERADOR" DETERMINES ("OP_CODIGO","OP_DIRECCION","OP_EMAIL","OP_NOMBRE" );
    ^
    The attribute begins with 'C' -> OP_CODIGO
    And the script I want is:
    CREATE DIMENSION "OPERADOR"
    LEVEL "OPERADOR" IS "OPERADOR"."OP_ID"
    LEVEL "TIPO" IS "OPERADOR"."TIP_TIPO"
    HIERARCHY "ROLLUP_OPERADOR"(
    "OPERADOR" CHILD OF
    "TIPO" )
    ATTRIBUTE "OPERADOR" DETERMINES ("OP_NOMBRE","OP_CODIGO","OP_DIRECCION","OP_EMAIL" );
    ^
    The attribute begins with 'N' -> OP_NOMBRE
    I would appreciate any comment,
    Thanks,
    Hazbleydi C.

    Good morning Hazbleydi,
    Well, in my version (9.2.0.4) it works fine, maybe you've got a different (older?) version?
    If you generate the code for the dimension, you get several .ddl-files. If I check the dimension ddl it simply follows the order things are shown in the dimension editor, i.e. alfabetically.
    But if you check how the actual table will be deployed (the ddl of object type "Table"), you will see that the order of columns is what you made of it using the Table Editor for the dimension.
    Have you tried altering the dimension the way I suggested and checked how the columns are then ordered? And that is not correct?
    If this doesn't work in your case, there's nothing else I can do for you, sorry. In case I misinterpreted your intentions, I'm sorry as well.
    Good luck, Patrick

  • MDX : How to use filter on a dimension without showing it OR merge 2 attributes of the same dimension?

    Hello everyone,
    I'm kind of newbie with MDX language, I'm trying to get filtered measures from a cube with a specific layout.
    Here is my exemple :
    I want to get all the "order numbers" where the "invoice" cost is more than 300.  Each invoice is linked with an ID, one order number can have several invoices.
    So what I do is a select request with 2 dimensions : "order num" and "id_invoice"
    Here is the result : I get all the cost sorted by "order num" and I can easealy identify those who are above 300
    order num
    Id_invoice
    cost
    Total
    Total2
    15450307
    10032013094498
    1671
    1737
    ok
    15450307
    10032013099835
    66
    1737
    KO
    15450596
    10032013094078
    8524
    8524
    ok
    15451214
    10032013094119
    228
    4348
    KO
    15451214
    10032013097069
    978
    4348
    ok
    15451214
    10032013097071
    3142
    4348
    ok
    15542434
    10032013101736
    142
    142
    KO
    15550064
    10032013097016
    1261
    1261
    ok
    15550346
    10032013097586
    2252
    2252
    ok
    15550353
    10032013098446
    2617
    2617
    ok
    What i need : In "cost", I need to have the sum of each cost which are above 300 in one line (without showing the invoice id)
    order num
    cost
    Total
    Total2
    15450307
    1671
    1737
    ok
    15450596
    8524
    8524
    ok
    15451214
    4120
    4348
    ok
    15550064
    1261
    1261
    ok
    15550346
    2252
    2252
    ok
    15550353
    2617
    2617
    ok
    How is it possible to use a filter on a dimension without showing it or merge 2 attributes of the same dimension ?
    The problem is that if I show "id" column, the filter doesn't work properly : it compares 300 with the total cost of the whole order and does not compare with each invoice (which could be under 300 ! - see "KO" in Total2 column)
    Here is the request I use to generate this result :
    with
    member [Measures].[Total]
    as (
    [TP].[ID INVOICE].[All],
    [TP].[ORDER NUM].currentmember,
    [Measures].[COST]
    member [Measures].[Total2]
    as (
    IIF([Measures].[COST] >
    300, "ok",
    "KO")
    select
    {[Measures].[COST],[Measures].[Total],[Measures].[Total2]}
    on
    columns,           
    Filter
                 [TP].[ORDER NUM].[ORDER
    NUM].members *
                 [TP].[ID INVOICE].[ID
    INVOICE].members
                 ,[Measures].[COST]
    > 0
    on
    rows
    FROM [MYCUBE]
    Thank you  for your help !
    Kind regards,
    Olivier.

    Hi Olivier,
    hereunder a similar query against the AW. For all order numbers, we sum all lines above 30 without diplaying the line numbers:
    WITH
    MEMBER [Measures].[lines above 30] AS
    IIF(
    [Measures].[Internet Sales Amount] > 30,
    [Measures].[Internet Sales Amount],
    null
    MEMBER [Measures].[aggr lines above 30] AS
    SUM(
    exists(
    [Internet Sales Order Details].[Sales Order Line].[Sales Order Line],
    [Internet Sales Order Details].[Sales Order Number].currentmember
    [Measures].[lines above 30]
    SELECT
    [Measures].[Internet Sales Amount],
    [Measures].[aggr lines above 30]
    } ON 0,
    [Internet Sales Order Details].[Sales Order Number].[Sales Order Number] ON 1
    FROM ( SELECT
    [Product].[Category].[All Products] ON 0,
    [Internet Sales Order Details].[Sales Order Number].&[SO51177]:
    [Internet Sales Order Details].[Sales Order Number].&[SO51178]
    } ON 1
    FROM [Adventure Works] )
    I reduced the cube with a subselect.
    Philip,

  • How can use removal rate to show level of liquid in a tank?

    I'm trying to use a use a flow meter to measure the usage of oil in a home heating system. I've set up a VI to measure the frequency of the flow meter and convert it into l/hr. The problem I have is how can I use this data to show the liquid level in the tank disipating as the flow meter runs?
    See diagram below....
    Chris

    Hi Chris,
    I hope you are well.
    Ravens Fan is right, Shift Register would be the easiest way of implementing this into your code.
    I have included a link to a Developer Zone article which explains Shift Registers under the Iterative Data Transfer section.
    Tutorial : Timing, Shift Register and Case Structures
    Video : Timing, Shift Register and Case Structures
    Basic Shift Register examples
    Have a good weekend!
    Ashish Naik
    Field Sales Engineer
    National Instruments UK

  • How to use SYS_CONNECT_BU_PATH to get max(level)?

    This is the example from
    http://otn.oracle.com/products/oracle9i/daily/oct04.html
    How can I modify this query to get the max(level)?
    This query displays all levels 1, 2, 3
    SELECT employee_name, LEVEL,
    SYS_CONNECT_BY_PATH(employee_name, '/') "PATH"
    FROM employee
    START WITH employee_name = 'KING'
    CONNECT BY PRIOR employee_id = manager_id;
    This query returns the employee name and the management chain for each employee starting with the employee 'KING.' The results, using the same values shown in the first example, would look like:
    EMPLOYEE_NAME PATH LEVEL
    King /King 1
    Greenberg /King/Greenberg 2
    Faviet /King/Greenberg/Faviet 3
    Chen /King/Greenberg/Chen 3
    Sciarra /King/Greenberg/Sciarra 3
    Urman /King/Greenberg/Urman 3
    Popp /King/Greenberg/Popp 3
    My question is -
    How can I modify this query to get the max(level)?
    ie - only these records -
    Faviet /King/Greenberg/Faviet 3
    Chen /King/Greenberg/Chen 3
    Sciarra /King/Greenberg/Sciarra 3
    Urman /King/Greenberg/Urman 3
    Popp /King/Greenberg/Popp 3

    sql>select level, sys_connect_by_path(e.ename, '/') path
      2    from emp e
      3   where level = (select max(level)                 
      4                    from emp
      5                   start with mgr is null
      6                   connect by prior empno = mgr)
      7   start with mgr is null
      8   connect by prior empno = mgr;
        LEVEL PATH
            4 /KING/JONES/SCOTT/ADAMS
            4 /KING/JONES/FORD/SMITH
    2 rows selected.
    sql>select level, sys_connect_by_path(e.ename, '/') path
      2    from emp e
      3   where level = (select max(level) - 1             
      4                    from emp
      5                   start with mgr is null
      6                   connect by prior empno = mgr)
      7   start with mgr is null
      8   connect by prior empno = mgr;
        LEVEL PATH
            3 /KING/JONES/SCOTT
            3 /KING/JONES/FORD
            3 /KING/BLAKE/ALLEN
            3 /KING/BLAKE/WARD
            3 /KING/BLAKE/MARTIN
            3 /KING/BLAKE/TURNER
            3 /KING/BLAKE/JAMES
            3 /KING/CLARK/MILLER
    8 rows selected.

  • Serial Number in Warehouse using Transfer Order at bin level

    Hello All,
    I have a requirement to record the serial number in Warehouse. Once the inventory is recorded when creating the TO we want to generate some picking strategy to record the serial number automatically or manually.
    In standard SAP at TO there is no facility to record the serial number.
    How can I achive this process?
    Can someone give me the step by step configuration or enhancement at IM and WM level to achieve this task.
    Thank you very much for supporting us.
    Karen

    bin level tracking with serial number

  • How to use another application's Dimension or not assigned in Data Manager

    PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%,%ENTITY_DIM%,%TIME_DIM%,DATASRC")
    DATASRC IS NOT A MEMBER OF APPLICAION
    It's for fIltering purpose at Package selection
    because there are a lot of member id in Dimension but
    i want to display specified members to choose for Script Logic
    thank you.
    Edited by: YOUNG HUN on Sep 16, 2011 10:45 AM
    Edited by: YOUNG HUN on Sep 16, 2011 10:46 AM

    Hi,
    A data manager package applies to a particular application only. It cannot access dimensions from another application.

  • Crystal 2008 - How to use the total revenue in a formula

    Hi, Experts,
    With Crystal report 2008, I created Income Statement in the following steps:
    1. select the Journal Entries within a date range
    2. group accounts by their father accounts
    3. summarize father accounts under Revenue and Expense ( then I got Total Revenue and Total expense in my groupfoot)
    Now, I'd like to calculate the percentage of
    (Revenue or Expense under each father account) / (total revenue)
    When I directly set the formula as: Sum ({@MonthBalance}, {OACT.FatherNum})/Sum ({@MonthBalance}, {@Seg0FirstLetter})
    It gives the percentage of (Revenue or Expense under each father account)  over (the summary of their group - Revenue or Expense)
    Please help how could I use only the total revenue amount in my formula?
    Thanks!
    Lorrie
    Edited by: Lorrie Liu on Mar 27, 2009 4:59 PM

    Care to share? There might be someone one day who will bless your name.
    Cheers
    Adam

Maybe you are looking for

  • In Address Book, how to stop notes insert point jumping to the top? of the page

    Completely maddening thing that address book - and no other app I have ever encountered does, as you are typing information into the notes field of a contact, it will suddenly jump the cursor up to the start of the page, often leaving one word half f

  • Report Explorer Web Part - Edit Web Part

    Hi, I have the Report Explorer and  & Report Viewer Web parts installed and working Now, I would like to configure the Report Explorer to open the reports in Report Viewer, but I dont see the "Connections" property. In the Report Explorer Menu I only

  • Why is trimming video inaccurate in Aperture 3

    In Aperture 3 I'm creating a Slideshow made up of images and videos. I noticed that the sections I trim are not reflected when I preview the end result. I tried shutting down and restarting Aperture only to find that the video is trimmed in the wrong

  • DBMS_RANDOM inconsistent behaviour ?

    Hi: I have an issue with DBMS_RANDOM on 9.2.0.6 #### TEST CASE ##### create table t1 (col1 number); insert into t1 values ('1'); insert into t1 values ('2'); insert into t1 values ('3'); -- ## QUERY1 select rnd1, rnd1, col1 from (select * from (selec

  • Record group in the CUSTOM.pll lib...

    Hi, According to the Developer's Guide (page 28-3) ... "You cannot use any SQL in the library. However, *you can use a record group to issue SELECT statements*, and .....". Is there any example, document showing this approach...???? Note: I use EBS 1