Math Calculation - Dividing Different Aggregated Rule

Is there a way to take a numeric value with an aggregated rule (Count) and divide the denominator value which has to have a aggregated rule (SUM)?
Edited by: NOTW_TEK22 on Mar 6, 2013 7:38 AM
Edited by: NOTW_TEK22 on Mar 6, 2013 7:39 AM

I was able to resolve my problem with the below formula: I was using a custom field not derived from an object in the data hub and an object that was in the data hub in this syntax.
CAST ("Revenue Metrics"."# of Open Opportunities" / "Revenue Metrics"."# of Opportunities" as float) * 100

Similar Messages

  • Different Aggregation rule while aggregating

    Hi Folks
    in OBIEE 10.1.3.4.1 and BI Apps 7.9.6, using answers, i developed a report which has Organization division dimension and active headcounts as fact. while the report is created, the default aggregation( Server determined) rule that the server is using gives wrong results i.e. the grand total of the active Headcounts results to 9603 where as when i explicitly give "sum" as aggregation rule, i get the summation of the headcounts in the active headcount column which results in 25000. i checked this physical queries and couldnt get a clear understanding of the physical db queries. there is an aggregation rule on the Active headcount in the rpd which is like this
    :- LAST(Core."Fact - HR - Operation (Workforce)"."Active Headcount") with time dimension
    :- SUM(Core."Fact - HR - Operation (Workforce)"."Active Headcount") with any other dimension
    and there is a case statement in expression builder like this:
    CASE WHEN "Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_EMPLOYMENT_D"."W_EMPLOYMENT_STAT_CODE" = 'A' THEN "Oracle Data Warehouse"."Catalog"."dbo"."Fact_W_WRKFC_EVT_MONTH_F_Snapshot"."HEADCOUNT" ELSE 0 END
    btw, i did not create the same report with time dimension first and when i combined it with time dimension, i get the same results as before.
    here are the different queries from log:
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>
    With out aggregation:
    WITH
    SAWITH0 AS (select T334016.ORG_HIER13_NAME as c2,
    T334016.ORG_HIER13_NUM as c3,
    sum(case when T264890.W_EMPLOYMENT_STAT_CODE = 'A' then T535616.HEADCOUNT else 0 end ) as c4,
    T277242.PER_NAME_YEAR as c5
    from
    W_INT_ORG_DH T334016 /* Dim_W_INT_ORG_DH_Employee_Org */ ,
    W_EMPLOYMENT_D T264890 /* Dim_W_EMPLOYMENT_D */ ,
    W_YEAR_D T277242 /* Dim_W_YEAR_D */ ,
    W_WRKFC_EVT_MONTH_F T535616 /* Fact_W_WRKFC_EVT_MONTH_F_Snapshot */
    where ( T264890.ROW_WID = T535616.EMPLOYMENT_WID and T277242.ROW_WID = T535616.EVENT_YEAR_WID and T334016.ORG_WID = T535616.HR_ORG_WID and T535616.SNAPSHOT_IND = 1 and T535616.DELETE_FLG <> 'Y' and T277242.CAL_YEAR_START_DT >= TO_DATE('2004-01-01 00:00:00' , 'YYYY-MM-DD HH24:MI:SS') and (T535616.SNAPSHOT_MONTH_END_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and (T535616.LAST_MONTH_IN_YEAR_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and (T334016.ROW_WID in (0) or T334016.HR_ORG_FLG in ('Y')) and (T334016.ROW_WID in (0) or T334016.W_HIERARCHY_CLASS in ('HR-ORG')) and (T334016.ROW_WID in (0) or T334016.CURRENT_VER_HIER_FLG in ('Y')) and T535616.EFFECTIVE_START_DATE <= TO_DATE('2009-10-12' , 'YYYY-MM-DD') )
    group by T277242.PER_NAME_YEAR, T334016.ORG_HIER13_NUM, T334016.ORG_HIER13_NAME)
    select distinct SAWITH0.c2 as c1,
    LAST_VALUE(SAWITH0.c4 IGNORE NULLS) OVER (PARTITION BY SAWITH0.c3 ORDER BY SAWITH0.c3 NULLS FIRST, SAWITH0.c5 NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) as c2,
    SAWITH0.c3 as c3
    from
    SAWITH0
    order by c1
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<With aggregation:
    -------------------- Sending query to database named Oracle Data Warehouse (id: <<8194579>>):
    WITH
    SAWITH0 AS (select T334016.ORG_HIER13_NAME as c2,
    T334016.ORG_HIER13_NUM as c3,
    sum(case when T264890.W_EMPLOYMENT_STAT_CODE = 'A' then T535616.HEADCOUNT else 0 end ) as c4,
    T277242.PER_NAME_YEAR as c5
    from
    W_INT_ORG_DH T334016 /* Dim_W_INT_ORG_DH_Employee_Org */ ,
    W_EMPLOYMENT_D T264890 /* Dim_W_EMPLOYMENT_D */ ,
    W_YEAR_D T277242 /* Dim_W_YEAR_D */ ,
    W_WRKFC_EVT_MONTH_F T535616 /* Fact_W_WRKFC_EVT_MONTH_F_Snapshot */
    where ( T264890.ROW_WID = T535616.EMPLOYMENT_WID and T277242.ROW_WID = T535616.EVENT_YEAR_WID and T334016.ORG_WID = T535616.HR_ORG_WID and T535616.SNAPSHOT_IND = 1 and T535616.DELETE_FLG <> 'Y' and T277242.CAL_YEAR_START_DT >= TO_DATE('2004-01-01 00:00:00' , 'YYYY-MM-DD HH24:MI:SS') and (T535616.SNAPSHOT_MONTH_END_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and (T535616.LAST_MONTH_IN_YEAR_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and (T334016.ROW_WID in (0) or T334016.HR_ORG_FLG in ('Y')) and (T334016.ROW_WID in (0) or T334016.W_HIERARCHY_CLASS in ('HR-ORG')) and (T334016.ROW_WID in (0) or T334016.CURRENT_VER_HIER_FLG in ('Y')) and T535616.EFFECTIVE_START_DATE <= TO_DATE('2009-10-12' , 'YYYY-MM-DD') )
    group by T277242.PER_NAME_YEAR, T334016.ORG_HIER13_NUM, T334016.ORG_HIER13_NAME),
    SAWITH1 AS (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3
    from
    (select LAST_VALUE(SAWITH0.c4 IGNORE NULLS) OVER (PARTITION BY SAWITH0.c3 ORDER BY SAWITH0.c3 NULLS FIRST, SAWITH0.c5 NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) as c1,
    SAWITH0.c2 as c2,
    SAWITH0.c3 as c3,
    ROW_NUMBER() OVER (PARTITION BY SAWITH0.c3 ORDER BY SAWITH0.c3 ASC) as c4
    from
    SAWITH0
    ) D1
    where ( D1.c4 = 1 ) ),
    SAWITH2 AS (select sum(case when T264890.W_EMPLOYMENT_STAT_CODE = 'A' then T535616.HEADCOUNT else 0 end ) as c2,
    T277242.PER_NAME_YEAR as c3
    from
    W_EMPLOYMENT_D T264890 /* Dim_W_EMPLOYMENT_D */ ,
    W_YEAR_D T277242 /* Dim_W_YEAR_D */ ,
    W_WRKFC_EVT_MONTH_F T535616 /* Fact_W_WRKFC_EVT_MONTH_F_Snapshot */
    where ( T264890.ROW_WID = T535616.EMPLOYMENT_WID and T277242.ROW_WID = T535616.EVENT_YEAR_WID and T535616.SNAPSHOT_IND = 1 and T535616.DELETE_FLG <> 'Y' and T277242.CAL_YEAR_START_DT >= TO_DATE('2004-01-01 00:00:00' , 'YYYY-MM-DD HH24:MI:SS') and (T535616.SNAPSHOT_MONTH_END_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and (T535616.LAST_MONTH_IN_YEAR_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and T535616.EFFECTIVE_START_DATE <= TO_DATE('2009-10-12' , 'YYYY-MM-DD') )
    group by T277242.PER_NAME_YEAR),
    SAWITH3 AS (select distinct LAST_VALUE(SAWITH2.c2 IGNORE NULLS) OVER ( ORDER BY SAWITH2.c3 NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) as c1
    from
    SAWITH2)
    select SAWITH1.c2 as c1,
    SAWITH1.c1 as c2,
    SAWITH1.c3 as c4,
    SAWITH3.c1 as c5
    from
    SAWITH1,
    SAWITH3
    Thank you in advance
    kumr

    Passing parameters from one report to another. If you go to Column Properties you will find 2 main types of Drills. One is a default drill which comes from the repository. The other is a navigation drill wherein you can specify a target report. So basically when you click on the column of your report that will navigate to another report and will also pass the parameter(value clicked) and will filter the target report. I am not sure which version of OBI EE you are on?
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • How to define an aggregation rule for a dimension based on bridge table?

    Hello,
    I need a solution for aggregating data correctly when using a dimension based on a set of dimensione tables containing a bridge table. Please find below a description of my business case and the OBIEE model which I’ve created thus far.
    Business Case
    The company involved wants to report on the number of support cases, the different types of actions that were taken and the people involved in those actions. One support case will undergo a number of actions (called ‘handelingen’) until it is closed. For each action at least one person is involved performing a specific role, but there can also be multiple persons involved with 1 action, each performing a different role for that action. This is the N : N part of the model.
    The problem that I face is visible in the two pictures below:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/sample.png
    As long as I don’t include anything from the Dimension Meelezer in my report, I get the correct number of handelingen (7). When I include the person (called ‘Meelezer’), the measuere per action is multiplied by the number of persons/roles involved with that action.
    When I changed the Aggregation rule in the report column #Handelingen to ‘Server Complex Aggregate’ I do get the correct endtotal:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/sample2.png
    I believe it should be possible to define in the repository a different aggregation rule for individual dimensions, but I’ve not been able to achieve this.
    Explained below is what I have created in my Physical and Business Model & Mapping layers:
    The Physical Model is built like this:
    (This is just a small part of a much larger physical model, but I’ve only included the most relevant tables)
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/PhysicalDiagram-1.png
    The Fact table (ALS Feit Zaakverloop) contains FK’s for the action (FK_HANDELING, joined to ALS Dim Handeling), the date the action took place (FK_DATUM_ZAAKVERLOOP, joined to ALS Dim Datum Zaakverloop) and the uniqe group of people involved (FK_MEELEZERS, joined to ALS Groep Meelezers) and a measure column (SUM_HANDELINGEN) populated with the value ‘1’ for each row.
    The Bridge table (ALS Brug Meelezer/Reden Meelezen) contains three FK’s: FK_GR_MEELEZERS (joined to ALS Groep Meelezers), FK_MEELEZER (joined to ALS Dim Functionaris) and FK_REDEN_MEELEZEN (joined to ALS Dim Reden Meelezen).
    The Business Model
    In the business model, the four physical tables for the N:N relation have been combined into one logical dimension table.
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/BusinessModel-1.png
    DIM Meelezer contains one LTS in which the four physical tables have been combined:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/LTS1.png
    And all the required locical columns have been created:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/LTS2.png
    DIM Meelezer has also been identified as a bridge table and a Business Key has been defined on a combination of the FK’s in the bridge table and business codes of the two dimension tables.
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/BMDIM.png
    Next a hierachy was created for Dim Meelezer:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/Hier.png
    In Feit Zaakverloop, a measurement called ‘# Handelingen’ was created using SUM_HANDELINGEN, with an aggregation rule of SUM.
    In the LTS of both the DIM Meelezer and Feit Zaakverloop, the Logical Content Levels have both been set to: LVL Detail – Meelezer.
    Please provide suggestions that will NOT require changes to the physical datamodel as they would require too much time to achieve (or at leats would not be ready before my deadline.
    Thanks!
    Edited by: The_Dutchman on Dec 13, 2011 11:43 AM

    Hmm, no replies yet...
    Am I in 'uncharted territory' with this issue?

  • Different aggregation for different Dimensions

    Hello,
    is it possible to have different aggregations on different dimensions.
    I have following situation:
    I have a measure per client and day.
    I'm interested in the maximum per month from the daily sums over clients.
    In the measure properties I can only choose between Maximum and Sum in general but not per Dimensions.
    To clearify what i mean here is some sample data.
    * * Client A * Client B *
    * 2014-11-28 * 7 * 8 * SUM() = 15
    * 2014-11-29 * 6 * 8 * SUM() = 14
    * 2014-11-30 * 6 * 10 * SUM() = 16 <-- monthly max
    * 2014-12-01 * 7 * 8 * SUM() = 15
    * 2014-12-02 * 5 * 12 * SUM() = 17 <-- monthly max
    * 2014-12-03 * 6 * 9 * SUM() = 15
    This data is stored in my fact table with reference to date and client dimensions.
    This example data would have to be reported as:
    /* Report on measure
    * * Measure *
    * 2014-11 * 16 *
    * 2014-12 * 16 *
    * Report on measure per client
    (max per client and month)
    * * Client A * Client B *
    * 2014-11 * 7 * 8 *
    * 2014-12 * 7 * 12 *
    Can this be achieved with SSAS? Didn't find any property for that on the measure.
    Best Regards,
    Thomas

    Hi Thomas,
    According to your description, you want to calculate different aggregation for different dimensions, right?
    Based on your scenario, I tested it on AdventureWorks cube, the query below is for you reference.
    with member [Customer].[Country].[USA & Canada] as
    Aggregate( { [Customer].[Country].&[United States],
    [Customer].[Country].&[Canada]
    member [Measures].[MaxAmount]
    as
    max([Date].[Calendar].currentmember.children,[Measures].[Internet Sales Amount])
    select {[Customer].[Country].&[United States],[Customer].[Country].&[Canada],[Customer].[Country].[USA & Canada]} on 0,
    [Date].[Calendar].[Month].members on 1
    from
    [Adventure Works]
    where [Measures].[MaxAmount]
    Here is similar thread with yours, please see:
    https://social.technet.microsoft.com/Forums/en-US/1bd493ef-f957-4fd5-916b-ee60639106c3/calculated-member-different-aggregations-on-different-dimensions?forum=sqlanalysisservices
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Define custom made aggregation rules

    Hi,
    If I edit a column formula in Answers, many different aggregation rules (sum, average, count etc) are availabe. However, it doesn't seem possible to define my own aggregation rule, somelike "SUM(revenue)/9". Isn't this possible?
    TIA!
    Edited by: Erik on 28-Mar-2011 14:44

    In answers we can give sum(revenue)/9 but it shows the same result for all the rows.If u r having any other column in the criteria ie dimension the give like this
    Sum(revenue by dimension)/9

  • Edit formula Aggregation rule?

    What is the aggregation rule meant in formula tab?
    What happen if I give aggregation rule in formula tab?
    Will the aggregation rule in formula tab overwrite the predefined aggregation rule in UI/Repository?
    If I want to change the aggregation rule only to the grand total where to specify?
    Can I give two different aggregation rules each one for values and grand total respectively?
    If I give aggregation rule “Default” in Formula tab what will happen?
    If I give aggregation rule “None” in Formula tab what will happen?

    Check the below link, the same can also get from Help link in Answers
    All the aggregation functions are top of what you defined in the RPD, Aggregation rules in Answers will not override RPD aggregation rules, since RPD is base for Answers
    http://docs.oracle.com/cd/E12096_01/books/AnyUser/formulaeditor.html#wp1096420

  • Aggregation rules for calculations

    Hi
    I have a calculation (logical column) Z as X*Y and I want Z to be an average at different levels in hierachy. How do I do it in OBIEE?

    Hi Siddharth,
    Specifying Aggregation rule for a column in Admin Tool and applying Formula for a column in Answers work differently.
    We usually specify Aggregation rule in Admin tool to implement the calculation measures. So, it will be used along with the logical levels.
    Where as specifying Formula for a column in Answers works for that particular Request only..
    Comes to its Significance...
    Take the general example... Sales by Country, Region, District and City
    To calculate the total sales Country, Region, District and City wise we specify aggregation rule as SUM for the Amount column..
    In order to calculate the logical level wise details we use Aggregations..i.e., Measures..
    For last question, is your saying the use of 'Use Existing Logical columns as the Source'..
    In this case, I think it is not possible to specify the Aggregation rule in Admin tool.
    -Vency

  • Substract as an aggregation rule for different level in a DIM ?!

    Hi there..
    I'm building a BI model based on financial transactions (incomes, expenses, etc..)
    and my main problem is how to substract a measure, where the aggregation rule is set to SUM, for different levels in the "Account" dimension?
    Example:
    I have the "Account" dimension with the following hierarchy:
    Account_ID / Account_name / Account_type / Account_total
    And, lets say, 2 rows in it:
    1.row in the "Account" dimension:
    account_ID : 100
    account_name : "Marketing expense"
    account_type : "Variable expenses"
    account_total : "Total profit" (total income - total Expenses)
    2. row in the "Account" dimension:
    account_ID : 200
    account_name : "Financial incomes"
    account_type : "Total incomes"
    account_total : "Total profit" (total income - total Expenses)
    "Total profit"
    "Tot. incomes" "Tot. Expenses"
    "Finan. incomes" "Market. expenses"
    The fact table has just one measure: "Amount" and, of course, some foreign keys:
    Account_ID -> "Account" dim
    Organization_ID -> "Organization" dim
    Date -> "Date" dim
    Amount
    The measure "Amount" in the fact table is positive both for expenses and incomes.
    Now, what I'm trying to do is to sum up that measure on my top level in the "Account" dim.
    At that level my report in Answers should substract "Total expenses" from "Total incomes"!
    How can I do that?
    thanks..
    Ivan

    Sorry to pop the obvious question, but can't you model that nicely and put it into distinct columns?
    If not, you can create derived measures on you fact using "case when" statements. One for the incomes with amount > 0 (or >=0 ...depends on where you want to have the 0's) and one for the expenses with amount < 0.
    HTH,
    Chris

  • Is there any documentation which throws light on how data aggregation happens in data warehouse grooming? what algorithm exactly it follows in different aggregation type (raw, hourly, daily)?

    Is there any documentation which throws light on how data aggregation happens in data warehouse grooming? what algorithm exactly it follows in different aggregation type (raw, hourly, daily)?
    How exactly it picks up a specific data value during Hourly aggregations and Daily aggregations?As in  How the value is chosen. Does it say averages out or simply picks  value at the start of the hour/day or end of the hour/day ??

    I'll try one more time. :)
    Views in the operations console are derived from data in the operational database. This is always raw data, and typically does not go back more than 7 days.
    Reports get data from the data warehouse. Unless you create a custom report that uses raw data, you will never see raw data in a report - Microsoft and probably all 3rd party vendors do not develop reports that fetch raw data.
    Reports use aggregated data - hourly and daily. The data is aggregated by min, max, and avg sample for that particular aggregation. If it's hourly data, then you will see the min, max, and avg for that entire hour. Same goes for daily - you will see the
    min, max, and avg data sample for that entire day.
    And to try clarifying even more, the values you see plotted on the report are avg samples. If you drill into the performance detail report, then you can see the min, max, and avg samples, as well as standard deviation (which is calculated based on these
    three values).
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • Direct Database Request Aggregation Rule

    How can I do aggregations on a report created with a direct database request? While I can set the default aggregation rule in the fx formula, the aggregate E sign does not appear in the table view. How do I actually get to do a summation of the column?
    Thanks,
    Dinesh.

    I guess I celebrated too soon. Now I lost the ability to display Columns & Table headings as separate rows. How can I accomplish the grouping of different columns under headings the way I accomplished with 'Columns & Table headings' as separate rows?
    Thanks,
    Dinesh.

  • The reasoning behind aggregation rules at report level

    Hello guys
    I notice that in the answer criteria, we can define column formula of each columns in the request, but we can also set aggregation rules for the numeric columns..
    I'd like to have a deeper understanding on how these settings work..
    The Avg, Max, Min, Count are pretty clear and self-explanatory to me.
    My main question is the difference between 'default', 'Server determined', 'complex server aggregate', and 'Sum'.
    In a lot of the measure columns when the aggregate rule is 'default', when I do subtotaling in report views, I would actually get the right total amount by dimension columns, however there are also places in the report where the sub total is off, so I have to go and set the aggregate rule of that measure to 'Sum' then the total becomes correct 100%. When I try 'server determined', 'complex server aggregate', some measures change and some don't, but this is not in a pattern of change that I can understand the concept behind. The OBIEE documents said very little about this part
    So is there more detailed information out there that explains more about what these options are doing?
    Thanks in advance

    Hi Shruthi,
    To be clear you have one table 'DIM_LF_B' and its separated out as FACT and DIM in BMM layer with respective formulas ? If yes check this http://www.varanasisaichand.com/2012/04/fact-and-dimension-from-single-source.html
    let me know if it is different
    Thanks,
    Saichand

  • Different aggregation operators for the measures in a compressed cube

    I am using OWB 10gR2 to create a cube and its dimensions (deployed into a 10gR2 database). Since the cube has 11 dimensions I set all dimensions to sparse and the cube to compressed. The cube has 4 measures, two of them have SUM as aggregation operator for the TIME dimensions the other two should have AVERAGE (or FIRST). I have SUM for all other dimensions.
    After loading data into the cube for the first time I realized that the aggregation for the TIME dimension was not always (although sometimes) correct. It was really strange because either the aggregated values were correct (for SUM and for AVERAGE) or seemed to be "near" the correct result (like average of 145.279 and 145.281 is 145.282 instead of 145.280 or 122+44+16=180 instead of 182). For all other dimensions the aggregation was OK.
    Now I have the following questions:
    1. Is it possible to have different aggregations for different measures in the same COMPRESSED cube?
    2. Is it possible to have the AVERAGE or FIRST aggregation operator for measures in a COMPRESSED cube?
    For a 10gR1 database the answer would be NO, but for a 10gR2 database I do not know. I could not find the answer, neither in the Oracle documentation nor somewhere else.

    What I found in Oracle presentation is that in 10GR2 compressed cube enhancements support all aggregation methods except weighted methods (first, last, minimum, maximum and so on). It is from September 2005 so maybe something changed since then.
    Regarding your question about the results I think it is caused by the fact that calculation are made on doubles and then there is a compression, so maybe precsion is lost a little bit :(. I really am curious whether it is because of numeric (precision loss) issues.

  • Different rounding rule by customers

    Hi all,
    I have a quiestion about rounding rule.
    Is there any way to change rounding rule to total price after tax by customers?
    I understand rounding rule can be controled by condition type. However, I am looking for a way to apply a different ronding rule in each sales by customers.
    For example, for a sales order from a customer A,  I'd like to have its total price after tax to be applied "commercial" rounding rule.
    but for a sales order from a customer B, I want it to be "round up".
    Both customers maintain a same pricing procedures and everything. Only different should be its rounding rule as I prefer.
    I truely appreciate for your help.
    Thank you very much.
    Misaki
    Edited by: Misaki Nagaya on Jul 30, 2010 10:43 AM

    Hi Rajesh,
    IMG  Personnel Time Management  Time Data Recording and Administration  Absences  Absence Catalog  Absence Counting  Rules for Absence Counting (New)  Define Rules for Rounding Counted Absences
    V_T559R
    In this step, you set rounding rules for absence and attendance counting.
    If you specify an hours or day multiplier for counting attendances and absences, the values determined can have several places behind the decimal point. It is difficult to use these values for quota deduction and payroll. In this step, therefore, you set rules for rounding the values.
    You use concrete numbers for the rounding rules and can specify whether you want:
    Only values within the specified interval to be rounded or the interval to be rolled
    The specified upper and lower limits to be included in the calculation
    You can specify several subrules for a rounding rule and number them sequentially. The system runs through the subrules in sequential order until it finds one that applies.
    Example
    For absences, you use a counting rule that is counted using an hours multiplier of 80%. You want whole numbers (full hours) to be determined in counting.
    Define a rounding rule
    With a lower limit of 0.5 (inclusive)
    With an upper limit of 1.5 (not inclusive)
    With a target value of 1
    You want the rule to be rolled, that is, to apply also to the following intervals:
    1.5 - 2.4 (rounded to 2)
    2.5 - 3.4 (rounded to 3)
    and so on.
    If you have any query's on this pls ask me.
    Thanks and Regards,
    Revathi.

  • Aggregation rules and pivot tables

    I have 3 measures in a pivot table out which 2 have aggregation rule set to SUM. The third measure has aggregation rule set to NONE.
    Although the third measure is a number I do not wish to show a grand total as it is the value in local currency and hence not additive as different regions have different currencies.
    However the Pivot table does not display the values of the third measure if the aggregation rule is set to NONE. The cells are blank.
    Is this expected behavior ? Can I over-ride this behavior ?
    Thanks

    What I have is a measure, value of inventory in local currencies. It is not additive because in the context of the report that I am working.
    I cannot move it to a dimension. One option I have is to move it to the rows section. But that messes up the format that is expected by the client.
    Any other ideas ?

  • OEE Report: KPI formulas and aggregation rules?

    Hello,
    is there documentation about the formulas and aggregation rules used in the OEE Report? Customers will only trust the KPIs in this report if they can verify them.
    Formulas & Aggregation
    How are the KPIs calculated?
    How are the KPIs aggregated, if a work center or resource type is selected instead of a single resource?
    Data & Variables
    Which data is used? Where do the variables used in the formulas come from? E.g. which tables and columns or which SQL SELECT statements are used?
    There is just very little information about the OEE Report in the online help or in the "SAP ME for Discrete Industries" document. And the MII "OEE Report Action", where obviously all the magic happens, is a black box.
    Best Regards,
    Martin

    Hi Daniele,
    Is Saichand correct in assuming that you have SUM setup in the BMM layer? If so, follow Saichand's recommendation.
    If you are specifying the aggregation in the Answer Request itself, then try this.
    Let's say this is your situation:
    SELECT DIMENSION, MEASURE_1
    FROM CRITERIA1
    UNION ALL
    SELECT DIMENSION, MEASURE_2
    FROM CRITERIA2
    UNION ALL
    SELECT DIMENSION, MEASURE_3
    FROM CRITERIA3
    UNION ALL
    SELECT DIMENSION, MEASURE_4
    FROM CRITERIA4
    Change it to this:
    SELECT 'CRITERIA1' CRITERIA, DIMENSION, MEASURE_1 MEASURE
    FROM CRITERIA1
    UNION ALL
    SELECT 'CRITERIA2' CRITERIA, DIMENSION, MEASURE_2 MEASURE
    FROM CRITERIA2
    UNION ALL
    SELECT 'CRITERIA3' CRITERIA, DIMENSION, MEASURE_3 MEASURE
    FROM CRITERIA3
    UNION ALL
    SELECT 'CRITERIA4' CRITERIA, DIMENSION, MEASURE_4 MEASURE
    FROM CRITERIA4
    Then in the combined criteria, add two new measures:
    new_measnure1 = SUM(CASE WHEN CRITERIA in ('CRITIERA1','CRITIERA1') then MEASURE END
    new_measnure2 = AVG(CASE WHEN CRITERIA in ('CRITIERA3','CRITIERA4') then MEASURE END
    NOTE: The syntax for the new_measure* may need to reference the saw naming convention, ie. saw0 = CRITIERIA, saw1 = DIMENSION, saw2 = MEASURE.
    That should work out for you.
    Good luck and let me know if this helps.
    -Joe

Maybe you are looking for

  • How to track the change of an asset via field ANLC-KANSW?

    I'm trying to track any change to the value of an asset. I'm looking at field ANLC-KANSW. I'm not sure how to do it, but if you change the value of an asset, the change is not reflected in the field itself, but other "cumulative  fields in ANLC. The

  • How am I able to display 2 or more folders in ftp?

    I have ftp working, but the users only go to the desired folder "FTP" which I set up.  Is there a way to have the contents of FTP shown along with the contents of an external drive i have "music"?? any advice would be appreciated!!

  • Parameter is not being applied

    Hey all i have the parameter in one of my reports, but when i change the value of the parameter the output or the result is not being changed. no matter what i do it will keep on showing me the same data any suggestions ?

  • CFExchange Accessing Global Address Lists

    Is there a way to grab the global address list from exchange with the new cfexchange tags? I can only seem to pull back contacts for a specific user. Thanks! Joe

  • How can I log on w/o people on my chat list knowing I'm logged on?

    There are times I want to be on the web but I don't want people on my chat list to know I'm logged on--anyway to do that?