Error 14081 - Conditional aggregates

Hi !
I'd like to create conditional aggregates in OBIEE.
This is my problem : I have a fact table, with an 'amount' column and a 'probability' column. I have to create measures that aggregate (sum) amounts only for a certain range of probability ('Other Opportunities : probability between 1 and 59, 'Strong Opportunities' : probability between 60 and 80, ...).
So, I made indicators with the expression builder, with this kind of expression, using case when :
CASE WHEN
SugarCRM."Affaires Faits".Probabilite > 0
AND SugarCRM."Affaires Faits".Probabilite < 60
THEN SUM(SugarCRM."Affaires Faits".Montant) END
Even though this expression raises no syntax error, this is the description error OBIEE gives me while checking consistency :
BUSINESS MODEL SugarCRM:
[14041] Error in measure definition for column Autres. Nested aggregate measure definitions are currently not supported.
Has someone created conditional aggregates ? Is there another way to make it ?
Thanks.
Cyril

One cannot use Case when for this. You need to use filter expressions for these. Use something like this
FILTER(SUM(SugarCRM."Affaires Faits".Montant) USING (SugarCRM."Affaires Faits".Probabilite > 0
AND SugarCRM."Affaires Faits".Probabilite < 60))
Thanks,
Venkat
http://oraclebizint.wordpress.com

Similar Messages

  • Conditional Aggregate in Business Layer

    Hi,
    I need to create conditional aggregate in RPD. I have sq ft need to aggregate in two different conditions. I set up expression by using case when:
    case when use code in (250, 255) or minor use in ('res', 'clinical') then sq ft else 0 end;
    but this is not returning total sq ft but first record. if i use sum(sq ft) in case statement, i will get error about checking consiitency error.
    Has anybody know if there is way i can aggregate sq ft in different condition?
    Thanks.
    Welma

    That means your sq ft column already aggregated, look like you are using aggregated measure in the expression. So results would be aggregated first and then condition applied.
    You may get results as expected if you derive metric using physical expression.
    Appreciate if you mark when helpful.

  • Error while realigning aggregates through master data attr. change run

    Hi all,
    We are using Sales Overview cube (SD_C03) on which we have built aggregates. now during the master data attribute change run it tries to realign the aggregate once the master data is loaded via Process chain. In this step we are facing an error:
    "Error while procesing aggregate <aggregate technical name>"
    From ST22 we can find
    Database error text........: "ORA-14400: inserted partition key does not map to any partition"
    Internal call code.........: "[RSQL/INSR//BIC/F200009 ]".
    Whereas from SM21 we can find out:
    Database error 14400 at INS access to table /BIC/F200009.
    /BIC/F200009 is the fact table of one of the aggreates we have. really looking forward to your valuable suggestion.
    Thnaks,
    Abhishek.

    Hi Jogeswara Rao Kavala,
    When I am pressing back or NO option  it is showing error like this
    What is this OK- Code means?
    how can I resume this process, even it was not going to back screen also and only one option is available for exit from this is by going into MENU-SYSTEM-SERVICES-BATCH INPUT-CANCEL.
    Sunil Boya

  • Pricing error: Mandatory condition ZPRI is missing

    Hi,
    When creating a credit memo request with reference to the original order we get the error: Pricing error: Mandatory condition ZPRI is missing.
    Checking in Analysis we get following information:
    "The condition is set as an automatic condition without access sequence. Stored condition formulas may deactivate the condition.
    Example: In the case of the NRAB free goods condition the minimum amount is not reached. In this case the condition is deactivated using the base value calculation formula 029."
    The condition type (statistical price) is setup not to be maintained manually and we want to keep it this way.
    As no access sequence exist I do not know how to add a condition record.
    I am also unable to trace any condition formulas.
    I have checked other credit memo requests for this sales area and none of them have ZPRI in their pricing analysis.
    Could anyone help me out?
    Let me know if you need more information.
    Thanks in advance!
    Best regards,
    Geert

    Hi
    Can you check the pricing procedure that is triggered in the Credit memo by going  to Pricing analysis..
    kinly check and maintain the same.
    Regards
    Damu

  • Urgently need solution for Pricing Error: Mandatory condition type missing

    Hello, All
    I am working on CRM 5.0 service module and I am facing a problem while creating a service order.
    When I enter the product in the service order it gives me an error
    "pricing error: mandatory condition type Z### is missing" even though I maintained the customer pricing procedure, the pricing procedure determination, and the condition record. The error shows that the pricing procedure is determined as the error shows the mandatory condition is determined but what I think is that it can’t find the condition record.  
    I already maintained the condition table and the condition record in the product master data but it does not pick the price, kindly help. Deserving points will be rewarded.
    Regards
    Jacopo François

    Hi,
    Open u r transaction which u r getting the error, Double click on product u ll get the item level info,   Select condition there u click on create icon, there u can define the condition.
                     OR
    While creating a sold to party check whether u  r entered a sales area data properly or not.
    Hope it helps u
    Gentila

  • Set "E" for V1801 Message: Pricing error: Mandatory condition ZR01 missing

    Dear All,
    I want to set below error message to appear as ERROR.
    Right now this message appear as a GREEN Color message. Therefore user can save the sales order without pricing.
    My requirement is to BLOCK the user from entering a sales order in to the system without pricing. (Not even a incomplete order)
    Message
    Pricing error: Mandatory condition ZR01 is missing
    Message no. V1801
    Please note I have done following configurations.
    - I have set ZR01 condition as MANDATORY in my pricing procedure. - B'se it's the price for the material
    - I have set "Manual Entry not possible" for this condition type - Price should always pick from VK11, User should not be able to enter manually.
    If Price is not there, user should not be able to create a SO.
    NOTE:
    In the transaction OVAH, I cant see this message no to set as E.
    even in SE91, I don't see a place to set the message type.
    Is there any other way to set this message as "E" & to prevent user from entering a SO to the system without price???
    Appreciate your help !

    Dear Senya,
    Your suggestion works really fine with me.
    It didn't make that message an ERROR message  type. But it prevents user saving any incomplete document, where in my case it's pricing. So user has to complete the pricing in order to save it.
    Thanks a lot for the help !
    All others, thanks a lot for your suggestions !!!
    Edited by: Anupa Wijesinghe on Aug 10, 2009 6:41 AM

  • "Item 10     IPC:TTE:Calculation error: Pricing error: Mandatory condition & is

    Hello Experts,
    I need your help to solve this TTE pricing error.
    In Service Order, I am getting this error message for one particular material only
    "Item 10     IPC:TTE:Calculation error: Pricing error: Mandatory condition & is missing".
    Remaining materils I am not getting this error message.
    Please proivide your suggestions to crack this.
    Thanks

    Hi,
      This message come when you caculate 0TTE when doing cross country transactions . Check if this codition needs to be caculated for your order. If it is not required you should not make call .You can try to eliminate this error bu uisng the BADI BADI_TTE_DOCUMENT

  • Convert Pricing Error : Mandatory condition PR00 missing as a red error

    HI GURUS,
    May I know if I can make the error "Pricing error : Mandatory condition PR00 missing" as a no-go red error?  We would not want to be able to save the sales order, then create the outbound delivery and only to reverse them after not being able to post the outbound delivery.  Making it a no-go error will help us save time and effort if we commit mistakes in the sales order encoding.
    Thanks a lot for your prompt reply.
    Regrds,
    Frances

    Hi
    Rahul
    The error is becose of two reason
    1. Check have u entered plant or not? If yes then
    2. Mintain PR00 condition thr. Tcode VK11 and do the update pricing.
    This two are the possibilities please check and try.
    Hope this will help you.
    Thx.

  • DMEE: Error in conditions for node Invcr: reference ID IDTP is not permitte

    Hi  Friends ,
    I have problem with nodes in DMEE .
    When child node is from a Exit funtion moduel , not from the Payment FPAYH/FPAYP/HX structures, is empty . I dont want the parent node to be displayed .
    EX:
    <INVCR>  -
    Should not display when node2 is empty
              <ID> -
    empty/or values from Userexit.
    I am using No mapping for parent nodes.
    trying to give Reference ID for childnode and using it in parent node conditions and i guess using a lower level REFId is not permitted . My DMEE is giving following error.
    Error in conditions for node Invcr: reference ID IDTP is not permitted
    Message no. DMEE_ABA305
    Diagnosis
    You have specified type 3 in the conditions, meaning that the argument is a reference ID. Your entry in the argument field, however, is not an existing reference ID.
    I did define the Reference NODE ID ,ID

    Hello Srikanth,
    The problem is with the semantics of the code you are writing.
    Refer to the following code to get Account ID from the value node:
    data: lv_account type string.
        lv_account = lv_value_node->get_property_as_string( iv_attr_name = 'ACCOUNT_ID'  ).
    or
    data: lv_account type bu_partner.
      CALL METHOD lr_value_node->get_property_as_value
        EXPORTING
          iv_attr_name = 'ACCOUNT_ID'                            "#EC NOTEXT
        IMPORTING
          ev_result    = lv_account.
    I hope this helps.
    Thanks
    Vishal

  • PowerCenter8.6.1:WinS2003:ERROR: Unexpected condition at file:pmmetrics.cpp

    Hi,
    Win Serv 2003
    PowerCenter 8.6.1 downloaded from edelivery.
    MS Windows Latin 1 (ANSI), superset of Latin1
    Repository Service start sucsesfull.
    Integrate service with message "The service did not start. Check the log for more information. "
    the log for domain contain such for powerCenter 8.6.1:
    Service Manager
    ERROR
    ?? ??? 28 10:46:10 2010
    Domain Monitor
    SPC_10008
    Service Process [BI_IntServ] output error [ERROR: Unexpected condition at file:[\861_build\build\powrmart\common\utils\pmmetrics.cpp] line:[2092]. Application terminating. Contact Informatica Technical Support for assistance. ].
    the log for domain contain such for powerCenter 8.6.1 hotfix6 :
    Domain Monitor
    SPC_10008
    Service Process [BI_IntServ] output error [ERROR: Unexpected condition at file:[\861HotFix\build\powrmart\common\utils\pmmetrics.cpp] line:[2111]. Application terminating. Contact Informatica Technical Support for assistance. ].
    Service Manager
    pls help me. I am new in PowerCenter and not good in English.
    The system installed as part of Oracle BI Appl.
    Edited by: Vash_Stampido on Jan 29, 2010 6:39 PM
    Edited by: Vash_Stampido on Jan 29, 2010 6:39 PM

    Launched on another machine, WIN XP / PowerCenter 8.6.1
    Used codepage "MS Windows Cyrillic (Slavic)"
    Services start normal,
    but when you try to import the repository (which is given in the BI APP), the next error became:
    C:\PowerCenter\server\bin>PmRep restore -u Administrator -p Administrator -i S:\
    !BI\BI_doc_install\inst\inf_repository\Oracle_BI_DW_Base.rep
    Informatica(r) PMREP, version [8.6.1], build [183.1218], Windows 32-bit
    Copyright (c) Informatica Corporation 1994 - 2008
    All Rights Reserved.
    This Software may be protected by U.S. Patent Numbers 6,208,990; 6,044,374; 6,01
    4,670; 6,032,158; 5,794,246; 6,339,775; 6,850,947; 6,895,471; 7,254,590 and othe
    r U.S. Patents Pending.
    Invoked at Fri Jan 29 18:48:14 2010
    Failed to execute restore.
    Completed at Fri Jan 29 18:48:15 2010

  • Approval Overtime iView Error - "Exception condition "PROFILE_NOT_FOUND"

    Hi There
    I have looked at every forum thread loaded on this site and if I missed something I do apologise.
    I keep on getting error - "Exception condition "PROFILE_NOT_FOUND" raised., error key: RFC_ERROR_SYSTEM_FAILURE"
    I have maintained what I deem the relevant configuration in my view and also updated the user parameters.
    SAP_LINE
    Field Selection Detail Screen        PERNR   Personnel Number
    Field Selection Indiv. Record View   PERNR   Personnel Number
    from the default
    Field Selection Detail Screen        ESS     Personnel Number
    Field Selection Indiv. Record View   ESS     Personnel Number
    CATS Approval: Individual Record - PERNR
    CATS Approval: Details - PERNR
    Approval Profiles - ZLIN
    Any help will be appreciated.
    Regards
    Maahir

    Dear Maahir,
    Have you defined a CATS Data Entry Profile in the CVR user parameter? Would you please also check whether the  default 'ESS' profile does exist in your system? The Manager have an infotype 105 in valid period right?
    Normally this error comes on ESS when the system is looking for a CATS Data Entry Profile, which has not been assigned to the user.
    This CATS profile can be assigned to the user either via the User Parameter 'CVR', with the name of the Date Entry Profile entered as the parameter value, or by creating a default ESS Data Entry Profile.  R/3 can then assign a profile to the employee even if the user parameter CVR has not been explicitly set.  The CATS Data Entry Profiles are stored in the table TCATS.
    For more information on creating the default Data Entry Profile, see the IMG, under Cross-Application Components -> Time Sheet -> Specific Settings for CATS -> CATS regular -> Set Up Data Entry Profiles.
    For more information on the CVR user parameter setting, see the SAP Library, under Cross-Application Components -> Cross-Application Time Sheet (CATS) -> User Interfaces -> CATS regular.
    As it is in MSS when approving, here I am giving you some information which will help you in this regard (PROFILE_NOT_FOUND):
    In the IMG (transaction SPRO), go to
    - SAP Customizing Implementation Guide
      - Cross-Application Components
        - Time Sheet
          - Specific Setting for CATS regular
            - CATS regular
              - Approve Working Time
                - Define Field Selection for Individual Approval View
                - Define Field Selection for Detail View
    Hope the above information should help.
    Best Regards,
    Deepak..

  • Dump error  Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised.

    hi ppl,
              I have created a simple badi,when i call this badi  its showing the dump error  Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised.

    HI,
    I have checked all of them
    Actually i am trying this example  from saptechnical. com
    Even i have tried others examples also but everytime I am recieving dame dump
    Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised.*
    Edited by: Sumesh Nair on Apr 24, 2009 7:08 AM
    Edited by: Sumesh Nair on Apr 24, 2009 7:09 AM
    Edited by: Sumesh Nair on Apr 24, 2009 7:09 AM

  • (no inline validation error displayed)) condition type and plsql expression

    Hello all
    Is it possible to use a plsql expression (eg: (:REQUEST = 'PXX_LIST_ITEM')) AND (no inline validation error displayed)) condition type at the smae time ?
    HTMLDB must be testing a substitution variable when the conditional display section is set to 'no inline validation errors displayed'.

    Hello,
    I don't know for sure because I never used it, but I think you can use the pl/sql variable htmldb_application.g_inline_validation_error_cnt. This variable identifies number of inline errors found.
    You can also check if the variable htmldb_application.g_notification contains a value.
    Fred.

  • Pricing error:Mandatory condition xpi1(intercompany price) is missing

    when i wanted to create Return order with ref to Invoice,its throwing an error Pricing error:Mandatory condition xpi1(intercompany price) is missing.Infact this condition type is there in Order,but its missing in Invoice,so not able to create Return order.What cud be the reason for the condition type missing in Invoice????

    In T. Code V/06 go to this condiition type XPI1 and in control data 2 - check "Inter-company billing condition". This makes this condition to flow in the inter company invoice. Then you will be able to process the returns wrt to the invoice.
    In the copy controls from Inv to Retruns order , T Code VTAF, at the item level, use pricing type D or G(G if you want to redetermine taxes)
    Hope this helps
    Regards
    Sai

  • Pricing error : Mandatory condition ZHPR is missing

    The user is doing sales return.
    In VF02, The prices are not updated and ended up with the error " Pricing error : Mandatory condition ZHPR is missing"
    He used VK11 and updated the price and also tried in all key combination.
    Still it is showing an error.
    Please help.

    Hi,
    This is very common error, you can ref. through sdn.forum, however
    1, First check the Pricing procedure for  your condition ZHPR, also check if any requirements assigned  to your billing doc.
    2, Please check  the analysis of the pricing in u201CVF02u201D, Just click on the condition u201CZHPRu201D and view the reason on right side.
        I am sure you would find the fault.
    Regards
    DSR

Maybe you are looking for

  • The detail log (mapping, payload) in BPM

    This is my scenario: SAP <-> XI <-> JDBC, because I need to use for-each component, so I used BPM and I used multiline component too. Current status is, I can see the detail message mapping and payload through SXMB_MONI, but I can only see the messag

  • Change of tabs in sales document layout

    Hello experts, I'm working with CRM 4.0 SP08 I want to change the order of tabs in the screen of sales document creation. Do you know how to do it ? Regards, Juan

  • How do i get out of "no bootable device"

    I just tried to do boot camp on my laptop with windows vista, but i canceled the installation and got the cd out. now  i turn on the computer and it says no bootable device" i dont want to install windows on my laptop anymore. what do i do

  • Sending to WebSphereMQ

    Hi everyone, I was hoping somebody could help me with my problem. I am new to WebSphereMQ. I set up all the administered Objects in MQ using JMSAdmin. I am using JBoss 4.0.2 to send messages into the queue. As of now I am able to listen to the queue

  • W7 (32bit) Drivers for early Macbook 1,1 (32 bit)?

    Hi. I have a Macbook (white) version 1,1 Core Duo 32 bit, with Snow Leopard, W7 and Ubuntu. Im trying to install drivers  on my Windows 7. ¿How can i get it? Note: i've efi multiboot whithout any bootcamp partition. I cannot run bootcamp to get drive