Measure not aggregated

Hi,
I have a fact folder with revenue and target measures.
I have two dimensions organisation and hierarchy.
Currently my fact is at detail level for both of these dimension sources.
For revenue measure this is correct.
But for target I need to only retrieve the single row for the specific hierarchy level (from the dimension hierarchy) and for the organisation.
i.e. Each parent needs to provide its number without its child data being aggregated into the same figure.
i.e.
Hierarchy Level
Organisation
Target
Revenue
Level 1
Vision West
12
3
Level 1.1
Vision West
6
4
Level 1.2
Vision West
9
1
Level 2
Vision West
8
3
Level 2.1
Vision West
4
3
Level 2.2
Vision West
4
3
As Level 1 is the parent of 1.1, 1.2, 2, 2.1, 2.2 the detail on revenue if reported for Vision West at Level 1 would be the sum of all rows, 17 - which is correct.
However, for Target the number desired is 12, can anyone suggest the best way to do this?
Also would the suggested solution work for then creating a further measure to divide sum(revenue) / target?
In practice there are twenty plus levels with a considerable number of child values.
The client wants to achieve within the repository, not the data warehouse or within analytics if possible.
Many thanks,
Robert.

Hi again Christian,
As the client had expressed the desire not to do this as part of the ETL I had thought of creating an opaque view which has the distinct keys for level and organisation and the value for the fact table, to be modelled in the business layer into the fact table.
I know this is not as performant as your version, but any reason why not?
thanks,
Robert.

Similar Messages

  • Error  while creating PO --   Unit of measure not defined for lanuage  ZH

    Hi all,
    i  have created the PR with EA as UOM. Then while creating PO, i am getting error like
    '  Unit of measure not defined for lanuage ZH' .
    Then  I execute CUNI
    Then menu is GOTO > Translation > units of measure
    enter source language and target language . After this i am getting the below message
    --->  Language not available on server
    Please suggest what i should do. Thanks.
    Thanks
    pabi

    HI Pabi,
    Go to material master for material in purchase requisition, the Go to Additional data and maintained language as ZH in material master data.
    Also the other possibility, that if in your case purchase requisition are converted to purchase orders through background jobs,
    then check the background job execution in SM37 whether that background job has been triggered twice parellely in the background, which could have resulted in locking of same purchase requisition at same time and hence your are getting the Error.
    Br,
    Tushar

  • Unit of measure not defined for language ZH

    Hi,
    We were creating a PO when we encountered the error which states "Unit of measure not defined for language ZH".
    We executed CUNI to translate the units of measurement to our target language. System prompted "This object was segmented. Only new lines evaluated." What does this mean?
    We tried creating the PO again, however we encountered the same error that the unit of measure was not defined for the language.
    Please recommend action/s that we should take. Thank you.

    Take a look at the below threads. Your problem has the solution.
    Re: Unit of measure XX not defined for language DE
    Re: Unit of Measure Error in Purchase order

  • Different granularity fact tables (NOT aggregated tables)

    Hi!
    Imagine the following Physical Layer:
    - Dimension Table "Year" (one-to-many FK relationship with "Month")
    - Dimension Table "Month" (one-to-many FK relationship with "Day" and "Sales_Month")
    - Dimension Table "Day" (one-to-many FK relationship with "PhoneCalls_Day")
    - Fact Table "Sales_Month"
    - Fact Table "PhoneCalls_Day"
    Imagine the following BMM:
    - Dimension Logical Table "Time" (which comprises the physical tables Year, Month and Day) - one-to-many relationship with the 2 Fact Logical Tables below)
    - Fact Logical Table "Sales_Month"
    - Fact Logical Table "PhoneCalls_Day"
    Both Fact Logical Tables ("Sales_Month" and "PhoneCalls_Day") are related to the Dimension Logical Table "Time". But there is no aggregation content defined in the LTS of each of those Fact Logical Tables, since they are not aggregated tables (one is for Sales per Month, and the other is for Phone Calls per Day, but Sales is not an aggregation of PhoneCalls, obviously).
    When I use answers to simply report Sales per Month (Qty_Sales, Month) the SQL generated will join "Sales_Month" physical table with "Month" physical table, but it also joins the "Month" physical table with "Day" physical table... Why?
    What should I do in order to avoid this last join?
    Thanks!!

    Thanks a lot!!
    It worked perfectly.
    Conclusion: I should create a separate LTS for each level to which a Fact Table is directly joined (not an aggregate table, because agregate tables should work fine with Agregation Content...).
    If I have a Fact Table per Year, another per Month and another per Day, then I should have 3 LTS.
    Since I only have one Fact table per Month and another per Day, I created only 2 LTS: Month (which has the join with Year) and Day.
    Thanks.

  • Set Measure column "Aggregation Rule" to "sum" or other,return error

    when set a Measure column "Aggregation Rule" to "sum" or other,return error,as following:
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46008] Internal error: File server\Query\Optimizer\Request\Src\SQORRqList.cpp, line 285. (HY000)
    SQL Issued: SELECT s_0, s_1, s_2, s_3, s_4, s_5, s_6, s_7, s_8, s_9, s_10, s_11, s_12, s_13 FROM ( SELECT 0 s_0, "SPW_PRO"."Product"."FamilyGroupName" s_1, "SPW_PRO"."Product"."Gen4,Product" s_2, "SPW_PRO"."Product"."MajorGroupName" s_3, "SPW_PRO"."Product"."ProductName" s_4, SORTKEY("SPW_PRO"."Product"."Gen4,Product") s_5, "SPW_PRO"."SPWPRODB"."Sales" s_6, "SPW_PRO"."SPWPRODB"."Sales%" s_7, "SPW_PRO"."SPWPRODB"."产品运营天数" s_8, "SPW_PRO"."SPWPRODB"."售卖数量" s_9, REPORT_AGGREGATE("SPW_PRO"."SPWPRODB"."Sales" BY "SPW_PRO"."Product"."FamilyGroupName","SPW_PRO"."Product"."MajorGroupName") s_10, REPORT_AGGREGATE("SPW_PRO"."SPWPRODB"."Sales%" BY "SPW_PRO"."Product"."FamilyGroupName","SPW_PRO"."Product"."MajorGroupName") s_11, REPORT_AGGREGATE("SPW_PRO"."SPWPRODB"."产品运营天数" BY "SPW_PRO"."Product"."FamilyGroupName","SPW_PRO"."Product"."MajorGroupName") s_12, REPORT_MAX("SPW_PRO"."SPWPRODB"."售卖数量" BY "SPW_PRO"."Product"."FamilyGroupName","SPW_PRO"."Product"."MajorGroupName") s_13 FROM "SPW_PRO" WHERE (("Period"."Gen5,Period" IN (SELECT saw_1 FROM (SELECT "Period"."OperatingDaily" saw_0, "Period"."Gen5,Period" saw_1, "Year"."Gen2,Year" saw_2 FROM "SPW_PRO") nqw_1 )) AND ("Year"."Gen2,Year" IN (SELECT saw_2 FROM (SELECT "Period"."OperatingDaily" saw_0, "Period"."Gen5,Period" saw_1, "Year"."Gen2,Year" saw_2 FROM "SPW_PRO") nqw_1 ))) ) djm
    please help me . Thanks a lot.

    Thanks dnikiforov
    still get the
    select a.rmdept||a.rmstyl||a.rmcolr||a.rmsize||','||a.rmvatc||','||a.rmshgp||','||rmdesc||','||rmac
    ERROR at line 1:
    ORA-00904: invalid column name
    I think its a problem with trying to select on the unique, anyway I accidentally posted a couple of threads for this and it has now been resolved by
    select a.rmdept||a.rmstyl||a.rmcolr||a.rmsize||','||a.rmvatc||','||a.rmshgp||','||
    a.rmdesc||',||a.rmacod||','||a.rmcdes||','||a.rmzdes||','||a.rmsupp||','||a.rmsspr||','||a.rmlcos||','||
    c.rsbarc||','||a.rmpord||','||a.rmmrch||','||a.rmcomq||','||sum(b.rdcstk)
    from stkmas a, stkwar b, stkbar c
    where a.rmdept = c.rsdept(+)
    and a.rmstyl = c.rsstyl(+)
    and a.rmcolr = c.rscolr(+)
    and a.rmsize = c.rssize(+)
    and a.rmdept = b.rddept(+)
    and a.rmstyl = b.rdstyl(+)
    and a.rmcolr = b.rdcolr(+)
    and a.rmsize = b.rdsize(+)
    group by a.rmdept,a.rmstyl,a.rmcolr,a.rmsize,a.rmvatc,a.rmshgp,
    a.rmdesc,a.rmacod,a.rmcdes,a.rmzdes,a.rmsupp,a.rmsspr, a.rmlcos,
    c.rsbarc,a.rmpord,a.rmmrch,a.rmcomq
    as I dont need to use the unique because the sum does it for me
    Thanks again for speedy help

  • Error:Measures not defined.

    <p>Hi All-</p><p> </p><p>I am using EIS to build the Outline,but when I try to save theMetaoutline I get an Error message as</p><p><b>MEASURES NOT DEFINED.(I also get a message as you can stillsave the Outline but cannot do a member or a data load)</b></p><p> </p><p>I have these dimensions in my Metaoutline:</p><p>Measure : Accounts - Dense</p><p>Period:Time - Dense</p><p>Scenario - Dense</p><p>Company - Sparse</p><p>Type - Sparse</p><p> </p><p>Please help to overcome this error.</p><p> </p><p>thanks in advance.</p><p> </p><p>Jeeva</p>

    <p>Thanks for the reply,but if I go back to my OLAP model to changethe Measure dimension as Accont dimension,when I go to theProperties of Measure Dimension the Dimension Type field where wedefine the dimension as Account is GRAYED out and has GENERAL init.I cant modify it.What do I do.......?Please help.</p><p> </p><p>thanks,</p><p>jeeva</p>

  • CS2 Need to set text bounding box to snap to exact measurement, not em size and without leading

    I am currently using CS2 working in a sign shop designing signs, banners and vehicle lettering.
    When working with text I need to know the exact letter height, not the em and without the leading. I need it exactly the way it would measure if converting the text to outlines. The reason I need this information is that when I output the lettering to a cutter/plotter to cut vinyl media I need to know the exact measurement so I can nest my lettering on my media size. The media is typically 24" wide which gives me 22.5" of available space once the pinch rollers on the machine are considered. Pinch rollers are rollers that engage a knurled driving wheel and "pinches" the media between them and thus guides the media through the plotter. Of course, when using any media one must make the best use of it to avoid making scrap or using more than is needed for the job at hand. Converting text to outlines gives me that measurement.
    One time awhile back I did a google search on this and found a one or two button fix that made the bounding box snap to the exact "ruler" height of the text. It worked great. But I got away from design work for a short period. When I returned I'd forgotten the process. Back when I did find it I never bookmarked or made a text file explaining the process and I'm ost in finding it again.
    I don't know exactly how I worded the google search but the answer I was looking for came up on the first page. That's probably why I didn't feel the need to bookmark it or write it down. Now, I've googled dozens of different wordings for my question and get nothing. It's likely a nomenclature/jargon issue and I've yet to stumble on it again.
    If anyone could help out I would so greatly appreciate it. As it is, when I get to the point that I need to know the exact ruler height of my lettering I convert my text to outlines. But then, as sometimes happens, I'll desire to change the font or try someting different but the text is not live so I'll have to start over with that line of lettering.
    I sincerely hope my explanation of my questions makes sense to anyone who might be reading this.

    Jacob Bugge, you are a blessing. This effect not only saves me time but avoids a lot of frustration when a client wants to change some copy or I commit a spelling error or have some other brain malfunction. Not to mention the sometimes hundreds of single words or number groups I must fit onto an artboard set to my available media space.
    Option 2 is exactly what I was looking for and I'll remember it forever now as I've spent parts of the past week searching that answer only to hear over and over again, "You can't do that in Illustrator".
    Thank you so much for your quick response!

  • Measure not shown in AWM after maintain

    Hi
    I am using the latest AWM (10.2.0.1.0), after maintaining one of my cube successfully, I tried to view the cube content but it only showed blank in the measure field (there is no error message when viewing the cube). This problem does not occur for my other cube which do not comprise of that many dimensions.
    Would like to know if anyone experienced the same problem.
    Thanks you.

    I'm facing the same issue. Maintained the cube without any errors. But when i click view data there is no data. any clues??

  • Unit of measure not craeted in EN

    There is an item in matl master (R/3)with micro liter as unit of measure . The same product has  been checked in COMMPR01 in EBP , where in microlitr is extracted from back end . I checked the language and it is in English.
    Also I checked for unit of maesure both in T006A  in R/3 and EBP with english as language .We r using SRM 5.5 with ECC 6.0.
    But while selecting that material for creating shopping cart it is giving error as
    'unit ML is not created in English language'.
    The ISO code for micro liter is 4G.
    Please help me ..
    Thanks in advance
    SK.

    ..

  • Level Based Measures not working

    Hi,
    I've put an LBM at the second Level (Region) of a Dimension called GeographicDIM.
    the Dimension looks like:
    Total, Region, Country
    The LBM is called #Customer_ID_Region, created as new a Logical column of an existing logical Column of my Fact, aggregation.
    If I create a Report with Region, Country, the LBM is correct. then I add another logical Column from the FACT, eg. Revenue_SUM, or Customer_key_Count, the LBM isn't frozen any longer.
    This happens also if I switch place any LBM to an other Dimensions.
    What could it be?
    Thanks in advance
    Frank

    Hi,
    the Problem is still not fixed.
    A LBM at the Grand Total Level works great. If I set a LBM to a Level below its not longer frozen if I add any Fact.
    Here is the SQL-Statement generated if I do the following:
    I created one LBM and set it to the Grand Total and another one set it to a Level below (Region).
    select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6
    from
    (select D1.c2 as c1,
    D1.c4 as c2,
    D2.c1 as c3,
    D1.c1 as c4,
    D1.c3 as c5,
    D1.c5 as c6,
    ROW_NUMBER() OVER (PARTITION BY D1.c2, D1.c4, D1.c5 ORDER BY D1.c2 ASC, D1.c4 ASC, D1.c5 ASC) as c7
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5
    from
    (select sum(D1.c1) over (partition by D1.c2) as c1,
    D1.c2 as c2,
    sum(D1.c3) over (partition by D1.c5, D1.c2) as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    ROW_NUMBER() OVER (PARTITION BY D1.c5 ORDER BY D1.c5 ASC) as c6
    from
    (select count(distinct T196.MASTER_CUSTOMER_KEY) as c1,
    T1365.REGION as c2,
    count(distinct T196.MASTER_CUSTOMER_KEY) as c3,
    T1365.COUNTRY_NAME as c4,
    T1365.COUNTRY_CODE as c5
    from
    GEOGRAPHIC_DIM T1365,
    SALES_FACT T196
    where ( T196.COUNTRY_CODE = T1365.COUNTRY_CODE )
    group by T1365.COUNTRY_CODE, T1365.COUNTRY_NAME, T1365.REGION
    ) D1
    ) D1
    where ( D1.c6 = 1 )
    ) D1,
    (select count(distinct T196.MASTER_CUSTOMER_KEY) as c1
    from
    SALES_FACT T196
    ) D2
    The Grand Total LBM shows the correct Data, the Region-LBM not.
    The Region-LBM is not calculated in a separate statement.
    I don't know why?

  • QM_Change of base unit of measure not possible

    Dear QM Experts,
    Scenario is,
    1.     Material master created with QM view activation.
    2.     The Base Unit of Measure kept as EA
    3.     Inspection plan prepared for material with usage 5 and status 4.
    4.     Material has not undergone any purchase order / production order / routing or any other transactions except inspection plan.
    5.     No movements have done and the stock is zero
    6.     The requirement is to change Base Unit of Measure from EA to KG
    When tried through MM02 system throws an error message as The base unit of measure cannot be changed; choose "Display errors" Message no. M3189
    When viewed through log another information gets displayed as Routings already exist that are assigned to the material. Task list type Q.
    I tried through trial and error method. First material assignment was deleted from task list, problem did not resolve. Thereafter deletion flag put to task list. No impact. At last entire task list deleted. Still system does not allow changing unit.
    Has anybody faced the same problem ever? Whether deletion of task list (By T-Code QSR6) from data base will server the purpose? What are the obligations that one must follow while execution QSR6?
    Or if there is any other solution to this requirement?
    Thanks in advance
    Best Regards,
    Anand Rao

    Hi
    *What are the obligations that one must follow while execution QSR6?*
    By this T code  Deletion is very much possible provided that
    If there are no stocks of the material in the current period and in the previous period
    If there are stocks in the previous period, you can clear them as follows:
    a) Post the stock in the previous period to the current period (for example, using movement type 561) so that the stock for the previous period is the same as the stock for the current period.
    b) Clear the stock with the posting date in the previous period (for example, using movement type 562).
    If no purchase requisitions, purchase orders, or scheduling agreements exist for the material
    Material Is used in any task list/Rauting.
    Now as per your schenario I hope you have checked Inspection lot & PR,PO.
    Error showing Q type of task list.
    Go to PLKO & MAPL table for this material & group & Gr counter check the entry.
    Check deletion Indicator in both the tables. If it has status "X" then this task list is very much possible to delete through QSR6.
    I hope this will add some value to your Execuation.
    Regards
    Sujit

  • IMSS Min Normalized Measure not appearing in imsmanifest.xml file

    Hello,
    The IMSS Min Normalized Measure line is not appearing in my imsmanifest.xml file. It used to, but since I upgraded to Captivate 5.5, I don't see it anymore. I have thoroughly checked my settings:
    Reporting is enabled
    SCORM 2004/Manifest/Default is selected
    Report Status: Pass/Fail
    Report to LMS as: Percent
    Report Data: Quiz Results and Slide Views
    Reporting Level: Interactions and score
    Did Captivate 5.5 fix it so we don't have to add the minimum score into the zip file anymore? If not, how do I correct this so the line shows up?
    Thanks,
    Barb

    Hi Melody,
    What I've been told by Adobe is that Captivate 5.5 produces a different looking manifest file than previous versions of Captivate.  For our LMS (Knowlagent), we require this line of coding so that we can manually input the minimum passing grade in a course.
    Adobe said I could try to edit the default SCORM template to suit our LMS, but our LMS said it wasn't possible.
    So instead, our LMS told us that if we adjusted the line of coding in each manifest file, it would work. And it has (it's just a little extra work each time you publish).
    This is what you need to do:
    Find the below block of code in your imsmanifest.xml file and change the value for satisfiedByMeasure from false (default) to true.  Once that line is changed, in the same block of code paste in the minNormalizedMeasure line that was present in the file previously (both settings are highlighted below).  The .80 is what we chose as our minimum passing grade (80%) but you can change that number to whatever you want.
                                                                <imsss:sequencing>
                                                                                    <imsss:objectives>
                                                                                                         <imsss:primaryObjective objectiveID="PRIMARYOBJ" satisfiedByMeasure="true">
                                                                                                                             <imsss:minNormalizedMeasure>.80</imsss:minNormalizedMeasure>
                                                                                                         </imsss:primaryObjective>
                                                                                    </imsss:objectives>
    Hope that helps! Are you using Captivate 5.5 too? Which LMS are you using?
    Thanks,
    Barb

  • Data Not Aggregated properly in the visualization

    Hi Experts,
    I have created a Simple BO Explorer report with a few facets and the automatic measure 'Occurrences'. The Facets Panel shows proper data. But when I have the Visualize Panel open it shows a different result. I am not sure why this happens as I am new to BO.
    Kindly check the screenshot to get a clearer idea.
    Thanks & Regards,
    Shreepad Patil

    Hi Shreepad,
    thanks for your reply. I thought it was HANA source. So this is a known issue with HANA or Explorer at the moment, I can reproduce the issue, and it seems to be a problem mainly for calculated columns. Still under investigation.  Is Region a calculated column?
    If you trace the Explorer Exploration server and get the chart query (the smaller one in the log) and run it in HANA Studio you will see that HANA is also returning 1 for occurences. If you want you open a message with SAP.

  • BOXI 3.0 Units of Measure not coming over to universe based on Infoset

    We are noticing that the Unit of Measure for Infoset based query objects are not coming over with the base install of the SAP integration Kit. However, it does seem to work after fixpack 2. Can anyone confirm this?

    Hi Mark,
    we had a separate thread on this already - or ?
    for Universes on top of Web Intelligence it has been identified as an issue.
    For Universes on top of InfoCubes it works fine.
    Ingo

  • Numerator in Unit of Measure not big enough

    Hi,
    The numerator, field UMREZ, of the unit of measure has a maximun lenght of 5 digits ( maximum of  99999 ). But for certain conversion I need (in MM02-> aditional data->tab units of measure):
    120000 EA = 1 ROL
    How can I do this without entering something bigger than 99999?
    I have thought in three alternatives:
    1.- Modification of that data domain, so that it can be stored up to 999999.
    2.- Use decimals in the denominator , so that I have something like 12000 EA = 0,1 ROL.
    3.- With an auxiliar unit of measure EA2 ( created via CUNI, linked to EA): 10 EA2 = 1 EA :::::and then::::: 120000 EA2 = 1 ROL.
    I havent been able to complete the 2nd and the 3rd. ANd I want to avoid the first...
    Do you know if something like this can be done? if so, how????
    I have found post UOM conversion not big enough but I could not find any usefull answer in there ...
    Many thanks in advance.
    Aaron

    Hi,
    Yes, I had already read this note, thanks for the info anyways.
    They describe exactly my case:
    Example 3: Too large numerators and denominators
                           When 120000 CM3 = 0,2 tons (TO), you can no longer save numerator and denominator of conversion ratio 600000 CM3 = 1 TO as numerator and denominator may have maximally five digits.
                           Here, you must either select a larger volume unit or a smaller unit of weight: With DM3 the conversion ratio would be 600 DM3 = 1 TO, with KG the conversion ratio would be 600 CM3 = 1 KG.
                           Generally, the alternative units of measure and the base unit of measure should result in quantities that are in the same dimension since the conversion factors may not be larger than 99999/1 and not smaller than 1/99999.
    But I can not change the Basic Unit of Measure, because the Material has already movements, and I dont know how to create another unit of measure (let say EA2) linked to EA with a the value 1 EA2 = 10 EA. In this case I could use EA2 in the material with the conversion 12000 EA2 = 1 ROLL.
    Is this possible? How can I create this unit? in CUNI I can create a new UOM but I dont see how to link it with an existing one ( create a conversion between them ) .
    Thanks!!

Maybe you are looking for

  • Really bad service, and I'm not even connected yet...

    So I opted for a new fibre connection in my house. I had three months of poor connection speeds form plus-net, and although their service is very cheap , the lack of reliable connection eventually made me consider the change to bt. I am lucky enough

  • Make Bootcamp partition on former laptop drive bootable again

    I have my former laptop drive with its OS X partition and its Bootcamp partition.  Only the OS X partition comes up on the list when the option key is held down at startup.  The Bootcamp partition seems absolutely fine and I can access the files but

  • Transports are taking longer time in Production compared to Quality in BI

    Hi All Could anyone please help me to solve this issue. In my BI systems , transports which are moving to production are usually taking much longer time usually double the time than Quality. Please help me to solve this... Regards Bala

  • Printer Default to Photo Tray

    Hello all, I am trying to change my printer's default settings. I need to change the default paper size from "US Letter" to 4x6. It is a HP Printer. I am printing files via Applescript. An applescript command or just a way to change the default setti

  • Calling Session Beans in JSP ?

    Hi Folks, I am new to EJB3, I am doing simple applicatuions. Can any one please tell me how to call session beans in jsp page. for example my case is.. iam entering two diffrent data, lets say user name and password in jsp page and this should go in