Problem with calculating measures in AWM

Hi,
We created dimensions and cubes in AWM (or in OWB) - without using materialized views. We we maintain cube using sum, min and max aggregation function eberythink is OK - we can see data in views, but when we maintain cube using other function e.g. average we see, that in view we have aggregated data using sum function, so:
sum makes sum
min makes min
max makes max
other functions makes sum
Oracle DB 11gR2 for win 64-bit
awm latest version 11.02 patchA
what to do? maybe we don't understand something?

One more time:
Hello,
I checked it. Unfortunately You're wrigth. I have simple CUBE AW_T5_V2 with three measures:
cena,
przebieg,
rok
and two simple dimensions:
aw_kolor with levels
KOLOR and
ODCIEN (ODCIEN_ID is foreign key)
aw_model with levels
MARKA
MODEL
SILNIK (SILNIK_ID is foreign key)
In point 1. and 2. everything is OK. (I mean in cube definition in dba_cubes:
SOLVE
AVG
ALLOW OVERFLOW
ALLOW DIVISION BY ZERO
IGNORE NULLS OVER CPOWBADMHD.AW_KOLOR,
AVG
ALLOW OVERFLOW
ALLOW DIVISION BY ZERO
IGNORE NULLS OVER CPOWBADMHD.AW_MODEL
and in AGG_MAP definition in OLAP Worksheet
DEFINE AW_T5_V2_SOLVE_AGGMAP AGGMAP LOCKDFN
AGGMAP
RELATION this_aw!AW_KOLOR_AGGRREL(this_aw!AW_T5_V2_SOLVE_AW_KOLOR_HVSET) PRECOMPUTE(NA) OPERATOR AVERAGE args DIVIDEBYZERO YES DECIMALOVERFLOW YES NASKIP YES COUNT YES
RELATION this_aw!AW_MODEL_AGGRREL(this_aw!AW_T5_V2_SOLVE_AW_MODEL_HVSET) PRECOMPUTE(NA) OPERATOR AVERAGE args DIVIDEBYZERO YES DECIMALOVERFLOW YES NASKIP YES COUNT YES
AGGINDEX NO
CACHE SESSION
END
But in cube_build_log I can see script in OUTPUT column:
<SQL>
<![CDATA[
SELECT /*+ bypass_recursive_check cursor_sharing_exact no_expand no_rewrite */
T14_ODCIEN_ID ALIAS_51,
T11_SILNIK_ID ALIAS_52,
SUM(T17_CENA) ALIAS_53,
SUM(T17_PRZEBIEG) ALIAS_54,
SUM(T17_ROKPROD) ALIAS_55
FROM
SELECT /*+ no_rewrite */
T1."PRZEBIEG" T17_PRZEBIEG,
T1."CENA" T17_CENA,
T1."ROKPROD" T17_ROKPROD,
T1."AW_KOLOR" T17_AW_KOLOR,
T1."AW_MODEL" T17_AW_MODEL
FROM
CPOWBADMHD."AW_T5_TAB" T1 )
T17,
SELECT /*+ no_rewrite */
T1."DIMENSION_KEY" T14_DIMENSION_KEY,
T1."ODCIEN_ID" T14_ODCIEN_ID
FROM
CPOWBADMHD."AW_KOLOR_TAB" T1 )
T14,
SELECT /*+ no_rewrite */
T1."DIMENSION_KEY" T11_DIMENSION_KEY,
T1."SILNIK_ID" T11_SILNIK_ID
FROM
CPOWBADMHD."AW_MODEL_TAB" T1 )
T11
WHERE
((T14_DIMENSION_KEY = T17_AW_KOLOR)
AND (T11_DIMENSION_KEY = T17_AW_MODEL) )
GROUP BY
(T11_SILNIK_ID, T14_ODCIEN_ID)
ORDER BY
T11_SILNIK_ID ASC NULLS LAST ,
T14_ODCIEN_ID ASC NULLS LAST ]]>/>
</SQL>
It should be AVG, where is SUM (I've checked that, when I update agg method to min or max function is changing from sum to mix or max). I suppose SQL should sum measures and devide by number of records.
OK, we know where is bug, what to do?

Similar Messages

  • OBIEE 11G - problem with calculating percentage

    Hi,
    I have a problem with calculating a percentage....
    I have a 2 measures Success and Failure
    where Success is a count(Response_key)
    Failure is a count(failure_key)
    I want Success/(Success+Failure) * 100
    I am getting this value as a 0
    Infact any column I take from the subject area and say count of that column and divide it by any integer say count(column1)/5 ,Say count of that column1 is 132 Eg: 132/5 , Its showing this value as 26.00 when I put decimal value to 2 , but it is 26.4...It is avoiding decimal values .
    So in my case success/(success+failure) in which Dr is greater than Nr . Since we get the value as 0.something . It is showing 0 value
    So , 0*100 it is showing me as 0%
    Can anyone please help me on this ??
    --Siri                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Yes, you need to put cast in numerator alone to get the resultant output in double.
    You can mark the post as Correct since your issue is resolved now.
    Thanks

  • Strange problem with color measure in Mac.

    Hello, I am having a strange problem with color measure in Mac. For example i create a gradient in Photoshop from color 200 200 200 to color 240 240 240. When i measure the color of the gradient with the color measure tool of Photoshop or with the built in OS X color measure tool the measured color is from 200 199 197 to 240 240 238. I have measured the same gradient with Photoshop for PC and the values are OK (the same values that i create).
    I dont know what is the problem, but i belive that the colors that i create would be the same that i measure after creating them, and also the same values between Mac and PC. I will appreciate it a lot any help or information that you could give me that helps me to understand what is happening here.
    Thank you for your time
    Marcelo.

    Yep you got it, proof as monitor basicaly strips out any profiling and just delivers it straight.
    is there any way to make the OS X color measure tool to measure the original color values
    You mean the document colors - No, like I said photoshop is filtering your image through document profile, proof setup and monitor profile. Why do you want to use Digital color meter anyway for this?
    i dont understand what is the point to measure color values that will change every time a calibrate my monitor.
    Because color values are 'bigger' than whats on your monitor. Your monitor (via photoshop) is only doing the best it can to display those values - which can be anything from LAB colors outside the gamut of your monitor - to CMYK colors. Calibrating it is the only way to allow your monitor to do this in any way accurately. (not ever really possible) Monitors have a certain gamut and are only dispays/representations of the REAL colors that a document, with a profile, holds. So there's only one good reason to measure monitor values, and that's to generate a monitor profile.

  • Problem with Calculated Key Figure and Acumulated

    Dear Masters,
    I am trying to use cumulated KF in a query. No problem with results. I just flag 'Cumulated'. However I need to use the value of each line in an operation. Let me illustrate it:
    Cumulated KF    KF1      FINALKF
    2                         2             2/2=1
    3 (2+1)                1              1/1=1
    5 (3+2)                 4             4/2=2
    6 (5+1)                 2             2/5=0.4
    As you can see above instead divide the KF1 by Cumulated value of a Line, the final result is always KF1/the value that would be the add value. The first line always is right because for the line 1 cumulated value has no accumulation value.
    Any idea?
    Regards,
    GilsonTeixeira

    Any idea?

  • Problem with calculated textobject

    Hi all!
    I have a problem with a text object with the attributes:
    Mode: sum
    formular:
    sumfunction: sum
    sum block: block1
    sum object: objet1 (numeric)
    Sometimes, specially if the first record of block1 isn't saved, the sumobject shows
    cryptical signs like '~--'. After commiting and requery the sum is correct.
    Why does this happen???

    Could it be your formatting? For example, if you specify 990 as your format, but the value has four digits, such as 1056, then you can get funny values.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Problem with calculated column, everything inc. NULLs appear

    Good morning,
    This one is tough.
    I have a dimension Category (with categories: Fruits, Vegies, Canned, etc.). And in my fact table I have field Expense. Then I decided to create calculated fields like "Fruits Expense" -
    CASE WHEN Dim."Category" = 'Fruits' THEN Fact.Expenses "."Expenses $ CY" END
    There're 2 problems:
    A) if the field Category isn't dropped in Answers there're many NULLS (all Exp values which don't belong to 'Fruits')
    B) If Category isn't there, there're even more NULLs - which don't look good at all - there're too many empty values
    Of course, it's possible to train users to use filters (is not null), etc. - but then it's really not what OBIEE is good at.
    Can someone suggest a better approach?
    I proposed in the beggining to create fields in the DB like "Expense Fruits" - but ut was deemed too complicated on ETL side.
    Thank you and have a wonderful OBIEE day
    UPD: OK, I want to rephrase it and make it easier. Except for using "is not null" filter- is there any other way to supress NULL values? I'm getting 12 empty ones and 1 i need. Is there anything I could do in order to supress showing NULL values by default. Thanks
    Message was edited by:
    wildmight
    Message was edited by:
    wildmight

    Thank you Nilanshu! Where have you been! I'm already seeing quite a few useful contributions. I'll try to go ahead and test your suggestions and I'll report what I've found.
    P.S> It works like a charm. Thank you
    Message was edited by:
    wildmight

  • Problem With Virtual Measures

    Dear Experts,
    We are using SSM 7.5 SP4.
    When trying to calculate a virtual measure thorugh BICA we get false results.
    The logic is as follows:
    Divide Cost for each profit center and account by quantity for each profit center in account 100.
    We created a virtual measure in BICA : Cost /(Quantity in Account 100).
    However when we do that we get strange reuslt and somehow the same results for actual and traget.
    furthermore, if we do not strict the account and only take cost/quantity we get the correct results for each profit center but without accounts.
    Amir

    Hi Ricardo,
    Thank you for your reply.
    If I use the syntax ACT_UN_COST = ACT_UNIT_EXP / ACT_UNIT_Q The ssm performs the right calculation for all profit centers but with out accounts.
    If I try syntax ACT_UN_COST = ACT_UNIT_EXP / (ACT_UNIT_Q_IN_ACCOUNT_100) I get in ssm scorecard an error message
    Expected Variable ACT_UNIT_Q_IN_ACCOUNT_100 Not Present in the Database
    I have checked the account with exh dim account both and 100 is the account number for quantity.
    The data looks like this:
    month 12/09                                 measure expense             measure  quantity         measure  Cost =(EXP/Q in Account 100)
    Profit center  111                                100 
    Account 100 (quantity)                                                                      10
    Account Exp 1                                     75 
    Account Exp 2                                     25
    Thanks,
    Amir

  • Problem with calculated attribute

    I have created a calculated attribute on an Entity that derives its value from two persistent attributes.
    I am only interested in displaying the calculated attribute and not the attributes it is derived from.
    If I put the calculated attribute in a View object without the other attributes I will get an error ( (oracle.jbo.DMLException) JBO-26080: Error while selecting entity for AccountPosting) when displaying data from the View object.
    This error does not occur if I add the other attributes to the View object and it all works OK.
    Why is this? Surely the calculated attribute is only calculated at the Entity object layer, so what does the View object have to do with this?

    The Java datatype for the two Number attributes is Number
    When I switch to Integer or Long, I get an error but the stack is different.
    oracle.jbo.DMLException: JBO-26080: Error while selecting entity for SLEO
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:658)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5025)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3386)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:2148)
         at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:2079)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1774)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1032)
         at mypackage2.SLEOImpl.setDETAIL(SLEOImpl.java:113)
         at mypackage2.SLEOImpl.setAttrInvokeAccessor(SLEOImpl.java:144)
         at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:945)
         at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1241)
         at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1150)
         at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1111)
         at oracle.jbo.server.ViewRowImpl.setAttrInvokeAccessor(ViewRowImpl.java:1086)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:833)
         at oracle.jbo.jbotester.JboTesterUtil.setData(JboTesterUtil.java:173)
         at oracle.jbo.jbotester.JBOFieldHelper.setDataValue(JBOFieldHelper.java:114)
         at oracle.jbo.jbotester.JBOFieldHelper.applyEdit(JBOFieldHelper.java:175)
         at oracle.jbo.jbotester.JBOFieldHelper.applyEditAndValidate(JBOFieldHelper.java:205)
         at oracle.jbo.jbotester.JBOFieldHelper$DefaultJBOFocusListener.focusLost(JBOFieldHelper.java:239)
         at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:172)
         at java.awt.Component.processFocusEvent(Component.java:5006)
         at java.awt.Component.processEvent(Component.java:4888)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:777)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:497)
         at java.awt.Component.dispatchEventImpl(Component.java:3506)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    ## Detail 0 ##
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]FOR UPDATE cannot be specified on a READ ONLY cursor.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:533)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5025)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3386)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:2148)
         at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:2079)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1774)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1032)
         at mypackage2.SLEOImpl.setDETAIL(SLEOImpl.java:113)
         at mypackage2.SLEOImpl.setAttrInvokeAccessor(SLEOImpl.java:144)
         at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:945)
         at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1241)
         at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1150)
         at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1111)
         at oracle.jbo.server.ViewRowImpl.setAttrInvokeAccessor(ViewRowImpl.java:1086)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:833)
         at oracle.jbo.jbotester.JboTesterUtil.setData(JboTesterUtil.java:173)
         at oracle.jbo.jbotester.JBOFieldHelper.setDataValue(JBOFieldHelper.java:114)
         at oracle.jbo.jbotester.JBOFieldHelper.applyEdit(JBOFieldHelper.java:175)
         at oracle.jbo.jbotester.JBOFieldHelper.applyEditAndValidate(JBOFieldHelper.java:205)
         at oracle.jbo.jbotester.JBOFieldHelper$DefaultJBOFocusListener.focusLost(JBOFieldHelper.java:239)
         at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:172)
         at java.awt.Component.processFocusEvent(Component.java:5006)
         at java.awt.Component.processEvent(Component.java:4888)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:777)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:497)
         at java.awt.Component.dispatchEventImpl(Component.java:3506)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    ----- LEVEL 1: DETAIL 0 -----
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]FOR UPDATE cannot be specified on a READ ONLY cursor.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:533)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5025)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3386)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:2148)
         at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:2079)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1774)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1032)
         at mypackage2.SLEOImpl.setDETAIL(SLEOImpl.java:113)
         at mypackage2.SLEOImpl.setAttrInvokeAccessor(SLEOImpl.java:144)
         at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:945)
         at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1241)
         at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1150)
         at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1111)
         at oracle.jbo.server.ViewRowImpl.setAttrInvokeAccessor(ViewRowImpl.java:1086)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:833)
         at oracle.jbo.jbotester.JboTesterUtil.setData(JboTesterUtil.java:173)
         at oracle.jbo.jbotester.JBOFieldHelper.setDataValue(JBOFieldHelper.java:114)
         at oracle.jbo.jbotester.JBOFieldHelper.applyEdit(JBOFieldHelper.java:175)
         at oracle.jbo.jbotester.JBOFieldHelper.applyEditAndValidate(JBOFieldHelper.java:205)
         at oracle.jbo.jbotester.JBOFieldHelper$DefaultJBOFocusListener.focusLost(JBOFieldHelper.java:239)
         at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:172)
         at java.awt.Component.processFocusEvent(Component.java:5006)
         at java.awt.Component.processEvent(Component.java:4888)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:777)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:497)
         at java.awt.Component.dispatchEventImpl(Component.java:3506)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • Problems with calculation in table footer

    I’m working on a 'dynamic form’ with an expandable table (i.e. the user presses a button to add a new row), there are cells in each row for beginning month & ending month, plus an autocalc total field containing the formula: “ending – beginning +1” (which accurately calculates total months e.g. Jan-Dec = 12 months). There is also a ‘total months’ field in the footer which sums the row ‘total’ cells. The problem I have is that the user could add a blank row throwing off the total cell in the footer. Any suggestions to accomplish my goal of presenting accurate total in footer while ‘idiot proofing’ the form?

    A link to the your live test page would be much more productive here. 
    It's much easier for us to diagnose problems when we can see your page & images in our browsers.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Problem with Calculations created in Analyzer Views

    Hi,I have to create a view looks as follows Y2001 5000 Act Bud Variance=================================================Sales 200 100 100(Act-Bud)Margin 300 400 -100(Act-Bud)Expense 500 600 100(Bud-Act)Here i am bring row names from one dimension andAct and Bud members from scenarion dimension. I created a calculation field i.e "variance" on screnario dimension.Is there any way to create this variance field as shown above. While calculating for sales and Margin rows i want to use "Act" - "Bud" and for Expense i want to use "Bud" - "Act".This is very much important from business perespective. Did anybody got this type of problem?.Do you have any suggestion?.I would appreciate any help given or any suggestions.Thanks a lot in advance..Regards..Rao

    The easiest way to solve this is to add a dynamic calc member in the Essbase outline for the variance calculation. You need to use the @var function and set Expense reporting tag for all expense accounts in the outline.-Magnus---Message Posted by meetrao   3/29/02 07:41---Hi,I have to create a view looks as follows Y2001 5000 Act Bud Variance=================================================Sales 200 100 100(Act-Bud)Margin 300 400 -100(Act-Bud)Expense 500 600 100(Bud-Act)Here i am bring row names from one dimension andAct and Bud members from scenarion dimension. I created a calculation field i.e "variance" on screnario dimension.Is there any way to create this variance field as shown above. While calculating for sales and Margin rows i want to use "Act" - "Bud" and for Expense i want to use "Bud" - "Act".This is very much important from business perespective. Did anybody got this type of problem?.Do you have any suggestion?.I would appreciate any help given or any suggestions.Thanks a lot in advance..Regards..Rao

  • Problems with Calculated Key Figure in Bex

    One of our super users have copied a query and trying to do some changes in the new query. In the Query designer, the person was directly dragging a Calculated Key Figure from the left hand side panel into columns and trying to change its properties (Currency conversion key is changed from 'Nothing Defined' to 'Monthly average rate' with variable entry.
    Then we get the error 'Abort system error in program and form SET_TCUR-02-' without even getting the variable popup window.
    Also when we check the Query properties, we observed that one variable entry (which is displayed in the target currency field in the properties) is displayed twice and came to know that this is the reason for the error.
    But why is that displaying twice there? Is there anything wrong in the way we had created the CKF? Do you have any document on how to use CKFs and RKFs?

    Check here:
    http://help.sap.com/saphelp_nw04/helpdata/EN/13/e072abaddb574284d22361f0b824bf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/EN/6f/56853c08c7aa11e10000000a11405a/content.htm
    For Currency Translation "How to:, see here:
    http://help.sap.com/saphelp_nw04/helpdata/EN/d2/02223c5f00612be10000000a11402f/content.htm
    Thanks..
    Shambhu

  • Problems with temporal measure

    In answer I get an error when I use the time series measure.
    Previously I used time series measure Type Year
    previous (year - 1) or previous month (month -1), without
    problems.
    Now, I get an error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000]
    [nQSError: 10058] A general error has occurred. [nQSError:
    59014th] The requested column does not exist in this table.
    (HY000)
    If I take the query logs and run, I Riton rows.
    The error is misleading? What can I check?
    I created a time dimension (time dimension).
    Chronological Hodefinito Key. Hogenrato the indicator
    function in August What should I check? Who can help?
    thanks

    Hello,
    I had the same problem and the answer is to set the Features in Physical Layer of the Administration tool like this:
    -search PERF_PREFER_MINIMAL_WITH_USAGE and PERF_PREFER_INTERNAL_STITCH_JOIN, select them and set the value to true. I found this answer here:
    http://www.vlamis.com/blog.php/?p=48
    Hope this helps,
    Cat

  • I have a problem with writing measurement to excel after 15s do-while data acquisition

    Dear Sir/Madam
    Currently, I am trying to write a 15 seconds of measurement into an excel file. The 15 seconds measurement is done by do-while function.
    But unfortunately, after the 15 seconds measurement, not all the data can be written to the excel, only one reading was successfully written. 
    The Write to Measurement to File is outside the frame of do-while loop.
    Could you please tell me how to solve this problem?
    Many thanks for your help.
    kind Regards
    Ken
    Solved!
    Go to Solution.

    ken84 wrote:What tunnel do you mean please?
    The output tunnel that you have wired to your Write To Measurement File that is on your While loop.
    Might I recommend some tutorials.
    LabVIEW Basics
    LabVIEW 101
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Problem with calculating column total

    Hi All,
    I am using Oracle Jdeveloper 11g Release 2.
    I want to show the sum of salary in application. I have the following step to do this.
    *1.*
    I have written the following code in EmployeesViewImpl.java class:
    public Number getSalarySubtotal() {
    if (salarySubtotal == null) {
    salarySubtotal = new Number(0);
    RowSetIterator rsi = this.createRowSetIterator(null);
    while (rsi.hasNext()) {
    Row r = rsi.next();
    Number salaryTotal = (Number)r.getAttribute("Salary");
    if (salaryTotal != null) {
    salarySubtotal = salarySubtotal.add(salaryTotal);
    rsi.closeRowSetIterator();
    return salarySubtotal;
    *2.*
    I have also exposed this method as client interface on view object.
    *3.*
    I have also create a method binding on the page where I want on consume this method.
    *4.*
    The output text has the following expression: #{bindings.getSalarySubtotal.inputValue}.
    When I run the page, it is showing nothing.
    I don't know what is wrong with this approach.
    Any help will be highly appreciated.
    Thanks in advance
    Regards
    Bilal

    Are you trying to calculate the total salaries of employees? If that is the case you need this method at the Dept level.
    Have a look at this video:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ImplementingTotals/ImplementingTotals.html?utm_source=dlvr.it&utm_medium=twitter

  • Problem with calcule in SD conditions

    Hello!
    I´ve been created a new formula in VOFM>Formulas>Condition values.
    In my include RV, i have this code:
    data: v_value type p decimals 6.
    Select * from konp into wa_konp....
    v_value = wa_konp-kbetr / wa_konp-kpein.
    Variables values are:
    wa_konp-kbetr = 5.13
    wa_konp-kpein = 1000
    But, after this calcule, v_value return 0.000001
    WHY??? What´s wrong in this code???
    I try to do this same code in another report and v_value return right result (0.005130).
    Please, somebody help me!!

    Hello,
    i´m trying somethings and just worst my situation.
    Look that examples:

    v_value = '5.13' / 1000.
    result: v_value = 0.000001

    v_value = '5.130000' / 1000.
    result: v_value = 0.005130

    v_value = '5.130000' / 10000000.
    result: v_value = 0.000001
    I don´t understand what happen...
    Please, somebody could explain me?
    Edited by: Rodrigo Kenji Matsunaga on Aug 31, 2009 8:55 PM

Maybe you are looking for

  • Poor resolution on small/resized photos

    I'm creating a tri-fold business brochure in AppleWorks 6 using a template I downloaded from the HP website. The brochure features an equal mix of photos and text, but once I insert the photos into the brochure they look like crap (on the screen and

  • Flex 2-14 speaker noise, driver problem ?

    hi all, recently bought flex-2 14 then noticed that the speaker is making noise like hisss, or static noise, that happen when playing sound, even when the speaker is set to mute or plugging in a headphone, after the sound had played, the noise gone.

  • No 'create' button in RSA2

    Hi Expert     i plan to create a data source by using RSA2 whereas i found there is no 'create/change' button in the screen of RSA2. only 'display' there.     my user has sap_all authority. are there additional roles needed? thanks

  • Email Activity Faults

    Hi, Email Activity is not throwing any Faults when SMTP server is not reachable. Is there any way the BPEL process know if that happend? I can see the error "Server not reachable' in logs. But Email activity is not throwing any Faults. Thanks --Sree

  • Rollover Problem....Please Help!

    I'm new to Dreamweaver so excuse the basic question. I cannot get the rollover function in our navigtion bar to work. Here's the code for the navbar. Any help would be GREATLY appreciated. <img src="Images/home1.jpg" alt="homebutton" name="home" widt