Additive/semi-additive measure HELP

I have a cube with dimensions TIME, GEOGRAPHY AND SALES_AGENT, built on a fact table that has
TIME_LEAVES,
GEOGRAPHY_LEAVES,
AGENT_LEAVES as FK's
and measures
SOLD_QUANTITY quantity of t-shirts sold
UNIT_PRICE the agent's price for one t-shirt
While SOLD_QUANTITY is fully additive, being SUM aggregated in the cube for all three dimensions, the UNIT_PRICE in totally non additive, so I let aggregation method to none for all dimensions.
Afterwards I made a calculation in JDev BIBeans multiplying UNIT_PRICE * SOLD_QUANTITY to get an income quantum, thinking it'll do something like (UNIT_PRICE1 * SOLD_QUANTITIY1) + (UNIT_PRICE2 * SOLD_QUANTITIY2) + ...
But the results go sky high, showing that it's not calculating the way I wanted it.
Do you have any idea? Is it possible to put a non additive measure with a fully additive one in the same cube? If so, how should I set the aggregation methods.

It's a relational cube.
Here is an example of a couple of rows in the fact table:
TIME GEOGRAPHY AGENT SOLD_QUANTITY UNIT_PRICE
========================================================
JAN04 LONDON AGENT1 240 20
JAN04 YORK AGENT1 123 20
JAN04 LONDON AGENT2 56 25
While sold quantity is fully SUM aggregable by all dimensions, the unit price is not (the cube shows NONE for all aggregations in OEM). Even so, the UNIT_PRICE add's itself on all three dimensions.
So instead of giving me a total income situation per agent of:
AGENT1 (240*20)+(123*20)
AGENT2 (56*25)
it returns something like
AGENT1 (240+123)*(20+20)
AGENT2 56*25

Similar Messages

  • Semi additive measures

    Hi, I need to create a semi additive measure in the bussiness model using the LAST function over the time dimension...
    In the aggregation tab I set Dimension Time with the LAST(), and Other with sum... when I use the measure in answer I get nothing...
    I try putting the LAST aggregate function over the SUM aggregate function in the aggregate tab....
    How should I use this feature?
    Thansk

    Hi,
    I'm not quite sure, but don't you need to create a level beased measure on time level and the last function over your measure?
    So duplicate the measure you need, put aggregation level on last and set the dimension level to the corresponding time level.
    Otherwise try to explain once what you want to achieve...
    Hope it can help you.
    Kr,
    A

  • Semi-additive measure using specified time dimension

    Hi,
    I am trying to make a semi-additive measure which will represent an Order Intake calculation.  Please see the data below:
    I plan on taking a copy of my Open Orders (Order Book) on the 1st of each month.  This gives me the ability to show that for example order A was entered in january, but at some point during the month it was increased by a value of 5.  So if I use
    Order_No and Value i see the following - which is good:
    ORDER NO
    Value
    A
    15
    B
    20
    C
    25
    D
    10
    Using snapshot_date as below, is good:
    Date
    Value
    2014-01-01
    30
    2014-02-01
    50
    However, using Brand i see the following:
    Brand
    Value
    X
    15
    Y
    35
    What I don't understand is why the value in X is wrong, but Y is right?  I am expecting the sum of the different orders within the brand, but the latest value by snapshot date.
    The "Value" is using the AggregateFunction "LastNonEmpty".
    I hope this example makes sense and look forward to some responses!
    Thanks

    Hi Dom,
    Does
    Yogisha's suggestion work on your scenario? If the issue persists, please post the detail information about your issue, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Semi additive Measures across non time dimensions

    Hello,
    I need to make my measure semi additive across a non time dimension (Since I am getting totals at each level and I cant roll up the children to the parent, instead create a dummy member at the lower level for total and use FirstChild). Is it advisable to change the dimension type to time to achieve this functionality?
    Thanks
    Arun

    I had followed exactly the same approach specified in the paper without using parent child dimensions. I had created "blank" members instead of the same name as the parent member. Now, the issue is, I have to make the measure's aggregation as "FirstChild" so that it takes the "blank" member's value for the parent.
    Another issue is, I have multiple dimensions in the cube and I have aggregated data across dimensions in my source. For Example,
    Col1                                                          Col2
    Dimension A Level1 Member1           Dimension B Level 1 Member 1           1000
    Dimension A Level1 Member1           Dimension B Level 2 Member 1           500
    Dimension A Level1 Member1           Dimension B Level 2 Member 2           500
    Dimension A Level2 Member1           Dimension B Level 1 Member 1           2000
    Dimension A Level2 Member1           Dimension B Level 2 Member 1           1000
    Dimension A Level2 Member1           Dimension B Level 2 Member 2           1000
    Thanks
    Arun

  • Additional Unit of Measure

    I have my base unit of measure set as EA and in the additional unit of measure I'm trying to put a conversation to state that 1 EA = 165838 KG
    The system wouldn't allow that since the this field in the table only accepts 5 characters and 0 dec. (it also saves the digits in x,xxx format which means I can only give 4 digits).
    Is there anything to do to fix this? I can't store in Ton because it won't be accurate.
    Thank you

    Ideally your base unit should be the smallest unit or a small unit. In this case KG should have been the base unit.
    However, if you still wish to continue...
    try using 500 EA = 82919 TON (This is exact if 1 TON = 1000 KG)
    If it is not allowing 5 digits, and you are willing to have a minor approximation, you can use
    50 EA = 8292 TON. At 1 TON = 1000 KG, this works out to 1 EA = 165840 KG (A difference of 2 KG from actual figure).
    Hope this helps,
    Lakshman
    P.S. Dear Srao, changing the number of decimals in currencies and Units of measures is not recommended.

  • System fails to shutdown and restart in addition to keyboard freezing HELP!

    System fails to shutdown and restart in addition to keyboard freezing HELP!

    Try resetting your SMC.
    Resetting the System Management Controller >>
    Boot from your system CD, run Disk First Aid from your Disk Utility and repair your permissions.
    -Bmer
    Mac Owners Support Group - Join us @ MacOSG.com
      Mac611 Mobile Mac Support - about.Mac611.com
       iTunes:MacOSG Podcast | YouTube.MacOSG.com
                       An Apple User Group 

  • Semie addivie measure and strange behavour

    Hi,
    For the first time , I 'm facing a strange behavior with a semi additive  measure.  
    In EXCEL  when I' m crossing it with a product dimension (Declared as Regular type ... no time type),
    the behavour is like we are crossing with a time dimension.
    No SUM on the column ,  but the last non empty value whenever appear. 
     Product Type - Product code        Cummulative Power
    A                                                             16 <--   Problem we don't see No 31  
                             AA1                                  15
                             AA1                                  16
    Total SUM                                                     16    !! no 31
    Does anyone have an idea about this problem ? 
    Thank you very much
    Christophe
    <input id="gt-speech-in" lang="fr" size="1" speech="speech" style="float:left;width:15px;padding:5px 6px;margin:0px;outline:none;border-style:none;background-color:rgba(255,
    255, 255, 0);" tabindex="-1" type="text" x-webkit-grammar="builtin:translate" x-webkit-speech="x-webkit-speech" />
    whenever

    Hi Christophe,
    your question is not clear to me.  From what I understand your facing problem with measure 'Cummulative
    Power' which uses aggregation function  'Last NonEmpty'.
    Don't know whether this will help. In our case 'Last
    NonEmpty' function would be calculating 'Cummulative Power' against 'Product' dimension attributes,
    while the measure value being the value of highest member or last member of time\date dimension. (remember semi additive measures always requires time dimension)
    For example consider the following table.
    Product       
    Date
    Cummulative Power
    A  
    20140101
    10
    B
    20140101
    15
    A  
    20140102
    13
    B
    20140102
    17
    A  
    20140103
    16
    B
    20140103
    11
    Here if 'Last NonEmpty' function is used with Cummulative Power then against each Product we would get the following results in cube.
    Product
    Last NomEmpty(Cummulative Power)
    A
    16
    B
    11
    i.e. the above values are corresponding to the last member of time dimension (20140103) .
    Saurabh Kamath

  • 2 channels on semi period measurements M series 6221

    Can I perform measurements of semi period on 2 seperate channels with my M series 6221?

    Hello rawpaw,
    The NI-6221 has two general-purpose counter/timers, which means that you should be able to perform a semi-period measurement with each one (for a total of two semi-period measurements).
    For more information on performing these measurements, please refer to the "Counters" chapter of the M Series User Manual. Hope this helps,
    Daniel S.
    National Instruments

  • Buffered semi period measurement: discard EVERY first value?

    Hello,
    I perform the buffered semi period measurement. The data aquisition last very long (maybe over one day...).
    I arm the counter and then I execute the "read buffer.vi" in an while loop to read the data continuously into a circular buffer.
    In the 6602-manual I read the first value ist always bogus.
    My question is:
    Will I have to discard always the first value when the while-loop restarts? Or will I have to discard only the first value after the first iteration of the while-loop.
    Regards Peter

    Peter,
    You will only need to discard the first value from the first iteration of the While Loop (Counter Read Buffer.vi). Unless you implement a start trigger, the counter could begin counting in the middle of a pulse. Since the counter does not stop and start counting during each iteration of the While Loop, only the very first value buffered is bogus (great choice of words).
    Good luck with your application.
    Spencer S.

  • Specific request on how to model semi-additive measures

    Hi,
    I have a fact table with a "quantity" measure which is related to an "UoM" (unit of measure) dimension.
    I cannot sum quantities that are not the same UoM.
    Is there a way to instruct OBIEE (11g) not to sum quantities with different UoMs?
    Note that all other dimensions in the fact table are additive.
    Thanks in advance.

    Of course I can. But the question here is different - how I can prevent users to aggregate quantity measure without grouping by UoM. That is, a user can have quantity measure in a BI analysis and "forget" to include UoM attribute to correctly group data - the result is that they aggregate peaces, kilos, etc all together. That's what is happening in real case with my users, they would like to have quantities correctly summed up.
    Has anyone a suggestion on how to achieve this?
    Thanks a lot,
    Chris

  • Additional attributes in F4 Help

    Hi all,
    For a certain InfoObject we want to add an attribute in the F4-search help. Besides the Key and Description also this attribute appears when the user activates the F4-button on the selection-screen. We activated this attribute for F4-search in the InfoObject (“Order for F4 Help”) with value 01. However: the additional attribute does appear when executing the query in the Bex Analyzer but not on the Web. Anyone knows how to achieve this also for the web?
    Henk.

    Hi,
    I think you can.. but not recommended to modify standard Adapters.
    Check the below blog.
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID0328214750DB00705897531357746266End?blog=/pub/wlg/4645
    Why dont you use Message subject or Content type ?
    Thanks
    Deepthi.

  • P7N Diamond 9800GX2 Quad SLI additional GPU problem, pls help!

    Hi all,
    So I have an interesting dilemma:
    I'm running my system with dual watercooled 9800gx2's in Quad SLI (both in blue pciex16 2.0 slots).
    The issue is that I cannot install an additional GPU in the white or yellow slots for my touchscreen monitor/additional output.
    What happens exactly is that the screen doesn't turn on (in any dvi or hdmi output)/pc doesn't boot up (the output led on the primary gx2 doesn't turn blue as it should).
    I'm running the latest nonbeta release bios. I unplug, clear all power, reset cmos, reset all cards, check plugs, etc. when installing the third card.
    I've tried both a 8800gt, and a radeon 2400xt I had laying around. I've tried with the gx2's in quad sli, not in quad sli, and not in sli at all (meaning one gx2 became two cards) with the same effect. The 8800gt will only work when one gx2 is installed.
    Any ideas would be greatly appreciated!

    If you are trying to get 2 x GX2 + 1 x 8800GT or R2400XT, I'm not sure if it is actually capable in terms of SLI.
    Don't quote me if I'm wrong, however, in my point of view, GX2 = SLi with 2 Cores back to back, so having 2 GX2s will means Quad SLi already, which is already the maximum of SLi capability. As such, I do not think that you can add 1 more card to run in parallel to the GX2s since SLI is already being maxed out.
    I think you should consult nVidia on this as well.

  • New/Additional phone line question- help please!

    Hi
    I am after some advice, and every time I call BT I get passed around as I am not 100% on what to ask for, or who I should speak to.
    Basically, we have 2 phone lines coming into the house.  One line/number + broadband signal goes via a repeater to the office which is a separate building across the garden (approx 300m but I am not sure on the actual distance).  The signal is not great, for the broadband particularly - often drops out etc.  To solve this we would like a new physical line installed in the office building to give us a separate phone and broadband package to that of the main house, but ideally keeping the same number as we currently use in the office.  The office is used everyday for working from home and so is important to us.
    Does that make sense?  I fully expect that an engineer will need to look at the site, and there will be a (significant) charge for the line to be installed (underground pipe work for cables already exists from house to office building and so this could be utilised).  Do I just place an order for a new line online, and wait for an engineer's visit?  Can I deal with changing the number at a later date if that is easier for the system to deal with?  Last time I rang BT, I was told I needed to speak to the exceptions team, when I was put through to them she told me all I needed to do was speak to customer services, customer services thought I was trying to move home and then didn't seem to understand what I needed (but it was probably how I was explaining it!).
    I would be so grateful if someone could point me in the right direction, or give me tips on what to ask for.  My main worry is keeping the same phone number as it would be so much easier.
    Thanks in advance
    MPA

    this link may help http://www.openreach.co.uk/orpg/home/network/whoar​eyou/selfbuild/selfbuild.do
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Restart Error message after installing additional RAM. PLEASE HELP.

    I have a Powerbook G4, 1.33 GHz processor, running 10.3.9. I just recently upgraded my RAM to 1GB, from 256MB. After installing the RAM I have started to encounter problems, where applications will automatically shut down, and also I am receiving a message that cover the entire screen, and states that I must restart the system by holding the power button down, when this appears nothing is functional, I can only power off. I have insured the RAM was installed correctly. I followed all proper procedures when installing. Does this mean the RAM is bad, or something else? Please help!!

    Welcome to the Apple discussions.
    Our Powerbooks are sensitive souls when it comes to RAM, due to the Apple architecture and how power is throttled on the memory bus. While memory can meet the Apple specs, typically cheaper RAM can fail with the symptoms you're seeing. Recommend using Crucial, Kingston (not their value ram memory, though), or Samsung. Crucial guarantees their memory will work when chosen from the memory selector on their web site.
    It is possible you've just got some bad memory and could get a replacement, however, if the brand is unknown, you may want to return it and obtain one of the brands above.

  • IMac 2011 additional ssd drive ! HELP!

    Do you know how if i can add vortex 3 ssd drive as aditional hd to my 2011  imac?  how can i do it?

    Have a read here
    http://www.ifixit.com/Answers/View/70013/How+to+add+one+or+two+SSDs+without+inte rfering+with+fan+issues
    Stefan

Maybe you are looking for

  • Email will not let me change fonts all of a sudden.

    Email will not let me change fonts all of a sudden.  It says I don't have the neccesay permissions in ~/library/preferences.  this has just happened recently.

  • Generate a text file using Portal

    Hello Everyone, I need to generate a flat text file from a portal screen. I have no idea as to what is the best way to do this. I have a screen on which i will have a push button which when pressed needs to run a procedure which generates a text file

  • Bootcamp?? your experiences? Vista and Linux

    I'm planning to get a macbook pro and I have a few questions before doing so. It's always nice to have the option of different OS's on the computer, so if I install Vista on there would the hardware (both of the graphics cards and if the backlit keyb

  • MAX doesn't find my USB-Scope

    Cheers! I am using Agilent DSO1014A USB-scope. If I switch my scope first on and then launch MAX it doesn't see my scope. Refresh doesn't help. Why? Only way which helps is to launch MAX first then power on scope. That is when NI Signal Express lauch

  • How to stop closing RR when sample size is not fully checked

    Hi My scenario is as follows: My sample size in RR is 10 where as results recorded are only for 7.(Single result). In such cases, RR should not be allowed to close. Should be allowed to close only when results are recorded for 10 nos. How to do this?