Strange error in Discoverer calculated columns.

Hi,
I got a strange error in discoverer10g worksheet. In woksheet the calculated coulmns did not return data but in PL/SQL developer when I run the query taking from the Show SQL of Discoverer Worksheet it returns. Anyone please help me to resolve this problem.
I paste the show sql discoverer query below:
SELECT /*+ NOREWRITE */
O378524.NAME AS E394898,
O397424.COMPANY AS E397430,
O397424.SEGMENT1 AS E397431,
O397424.INV_ORG AS E397433,
O397424.VENDOR_NAME AS E397435,
O397424.INVOICE_ID AS E397436,
O397424.PERIOD_NAME AS E397438,
O397424.AMOUNT_PAID AS E397439,
DENSE_RANK() OVER(PARTITION BY O397424.ORG_ID ORDER BY O397424.AMOUNT_PAID DESC) AS C_5,
(SUM(O397424.AMOUNT_PAID)
OVER(PARTITION BY O397424.ORG_ID ORDER BY O397424.AMOUNT_PAID DESC ROWS
UNBOUNDED PRECEDING)) /
(SUM(O397424.AMOUNT_PAID) OVER(PARTITION BY O397424.ORG_ID)) AS C_4,
SUM(O397424.AMOUNT_PAID) OVER(PARTITION BY O397424.ORG_ID ORDER BY O397424.AMOUNT_PAID DESC ROWS UNBOUNDED PRECEDING) AS C_1,
O397424.AMOUNT_PAID /
(SUM(O397424.AMOUNT_PAID) OVER(PARTITION BY O397424.ORG_ID)) AS C_3,
SUM(O397424.AMOUNT_PAID) OVER(PARTITION BY O397424.ORG_ID) AS C_2
FROM (SELECT * FROM APPS.HR_OPERATING_UNITS) O378524,
(SELECT DISTINCT /*SEGMENT1*/ CODE_COMBINATION_ID, INV_ORG
FROM (SELECT GCC.SEGMENT1,
GCC.CODE_COMBINATION_ID,
DECODE(GCC.SEGMENT1,
7590,
'Kanowna Belle Organisation',
7060,
'Darlot Organisation',
7260,
'Cowal Organisation',
7570,
'Kanowna Belle Organisation',
7595,
'Kundana Organisation',
7070,
'Lawlers Organisation',
7180,
'NULL for Yilgarn(Barrick (Services) Limited)',
7541,
'Granny Smith Organisation',
7015,
'NULL for Barrick Gold(Barrick (Australia Pacific) Limited)',
7610,
'Kundana Organisation',
7014,
'NULL for Yilgarn(Yilgarn Shared Services)',
7538,
'Granny Smith Organisation',
'Unknown') INV_ORG
FROM APPS.GL_CODE_COMBINATIONS GCC)
/*WHERE SEGMENT1 IN
(7590, 7060, 7260, 7570, 7595, 7070, 7180, 7541, 7015, 7610, 7014, 7538)*/
) O394875,
(SELECT CHQ.ORG_ID,
FVT.DESCRIPTION COMPANY,
GCC.SEGMENT1,
INVD.DIST_CODE_COMBINATION_ID,
DECODE(GCC.SEGMENT1,
7590,
'Kanowna Belle Organisation',
7060,
'Darlot Organisation',
7260,
'Cowal Organisation',
7570,
'Kanowna Belle Organisation',
7595,
'Kundana Organisation',
7070,
'Lawlers Organisation',
7180,
'NULL for Yilgarn(Barrick (Services) Limited)',
7541,
'Granny Smith Organisation',
7015,
'NULL for Barrick Gold(Barrick (Australia Pacific) Limited)',
7610,
'Kundana Organisation',
7014,
'NULL for Yilgarn(Yilgarn Shared Services)',
7538,
'Granny Smith Organisation',
'Unknown') INV_ORG,
CHQ.VENDOR_ID,
CHQ.VENDOR_NAME,
COUNT(INV.INVOICE_ID) INVOICE_ID,
--INVL.PRODUCT_TYPE,
INVL.PERIOD_NAME,
--chq.check_date,
SUM(NVL(INVP.PAYMENT_BASE_AMOUNT, INVP.AMOUNT)) AMOUNT_PAID
FROM APPS.AP_CHECKS_ALL CHQ,
APPS.AP_INVOICE_PAYMENTS_ALL INVP,
APPS.AP_INVOICES_ALL INV,
APPS.AP_INVOICE_LINES_ALL INVL,
APPS.AP_INVOICE_DISTRIBUTIONS_ALL INVD,
APPS.GL_CODE_COMBINATIONS GCC,
APPS.FND_FLEX_VALUES FV,
APPS.FND_FLEX_VALUES_TL FVT
WHERE CHQ.CHECK_ID = INVP.CHECK_ID
AND INVP.INVOICE_ID = INV.INVOICE_ID
AND INVL.INVOICE_ID = INV.INVOICE_ID
AND INVL.LINE_NUMBER =
(SELECT MIN(LINE_NUMBER)
FROM APPS.AP_INVOICE_LINES_ALL
WHERE INVOICE_ID = INVL.INVOICE_ID
AND LINE_TYPE_LOOKUP_CODE = 'ITEM'
AND DISCARDED_FLAG = 'N')
AND INVL.INVOICE_ID = INVD.INVOICE_ID
AND INVL.LINE_NUMBER = INVD.INVOICE_LINE_NUMBER
AND INVD.DISTRIBUTION_LINE_NUMBER = 1
AND INVD.DIST_CODE_COMBINATION_ID = GCC.CODE_COMBINATION_ID
AND FV.FLEX_VALUE_SET_ID = 1013043
AND FV.FLEX_VALUE = GCC.SEGMENT1
AND FV.FLEX_VALUE_ID = FVT.FLEX_VALUE_ID
GROUP BY CHQ.ORG_ID,
GCC.SEGMENT1,
CHQ.VENDOR_ID,
CHQ.VENDOR_NAME,
FVT.DESCRIPTION,
--INVL.PRODUCT_TYPE,
INVL.PERIOD_NAME,
--chq.check_date,
INVD.DIST_CODE_COMBINATION_ID) O397424
WHERE ((O397424.ORG_ID = O378524.ORGANIZATION_ID) AND
(O397424.DIST_CODE_COMBINATION_ID = O394875.CODE_COMBINATION_ID))
AND (O397424.AMOUNT_PAID > 0)
AND (O397424.PERIOD_NAME = /*:"Period"*/'DEC-09')
-- AND (O394875.INV_ORG = :"Inv Org")
AND (O378524.NAME = /*:OU*/'Barrick Yilgarn')
ORDER BY O397424.AMOUNT_PAID DESC;
Edited by: Soma Sekhar D on Feb 24, 2010 11:46 AM

Hi,
In the report I have two worksheet. The Ist worksheet has the same calculated columns as 2nd worksheet. Even the calculations are also the same. The only difference is I use different folder for the 2nd worksheet. For 2nd worksheet layout only the calculated columns will not display the result.The other columns displayed the result properly. Even in the Ist worksheet all the columns including calculated columns displayed the result correctly.The calculations are same in the 2nd worsheet with calculation names different and items coming from different folder. As these calculations are working properly in Ist worksheet,why its not appearing in the 2nd worksheet? The query I paste before is the Discoverer show sql query for 2nd worksheet.
Please help.

Similar Messages

  • Error while validating Calculated Column

    Hi Frzz,
    I have created a Calculated column of type NVARCHAR by performing some calculation on a filed whose data type is NVARCHAR.
    But while validating the view am getting an error " Attribute type is not valid"
    Could some one please help me why am getting this error.
    Error Details:
    Short Text
      Attribute type is not valid
    Cause
      Mismatch between data type defined and values computed.
    Recommendations
      Check calculated measure/attribute definition and ensure data types match.
    Best Regards,
    Krishna.

    Hi Raj,
    I have provided the same size in Calculated column.But still am getting the same error.
    1) First i created a calculated column CC_Test1 to perform the TRIM()
    2) I created another calculted column CC_test2 on 1st calculated column (CC_Test1)
    Table field:
    Calculated Column1:
    Calculated Column2:
    Errror:

  • Strange error when adding a column

    I am trying to run the following SQL but get this error:
    ALTER TABLE s1_grainsmart_option
        ADD ppv_flag                   char(1)       DEFAULT 'N'   not null
            CONSTRAINT ckc_gso_ppv_flag CHECK (ppv_flag IN ('Y','N'))
    ERROR:  a problem occurred while running script 1700050069
      ORA-02293: cannot validate (GRAINV17UNICODE.CKC_GSO_PPV_FLAG) - check constraint violated
    Here is the table definition:
    CREATE TABLE s1_grainsmart_option
       go_key                          number                      not null,
       ps_same_number_flag             char(1)       DEFAULT 'N'   not null
           CONSTRAINT ckc_gso_ps_same_num_flag CHECK (ps_same_number_flag IN ('Y','N')),
       wheat_board_req_flag            char(1)       DEFAULT 'N'   not null
           CONSTRAINT ckc_gso_wb_req_flag CHECK (wheat_board_req_flag IN ('Y','N')),
       multiple_currencies_flag        char(1)       DEFAULT 'N'   not null
           CONSTRAINT ckc_gso_multi_currencies_flag CHECK (multiple_currencies_flag IN ('Y','N')),
       ar_software_interface           varchar2(30)                null,
       ap_software_interface           varchar2(30)                null,
       gl_software_interface           varchar2(30)                null,
       inv_software_interface          varchar2(30)                null,
       gl_by_location_flag             char(1)       DEFAULT 'Y'   not null
           CONSTRAINT ckc_gso_gl_by_location_flag CHECK (gl_by_location_flag IN ('Y','N')),
       CONSTRAINT pk_grainsmart_option PRIMARY KEY (go_key)
           using index
           tablespace smartsoft_index
    tablespace smartsoft_data
    BTW, there are several (approx. 200 "flag" columns) additionally; I didn't want to burden the "create table" definition.
    I don't understand the error; I use this syntax for adding a mandatory column with a default value hundreds (if not more) times but in this case it issues an error.
    Oracle 11.2.0.4 64-bit Standard Edition on Windows 2008 R2 Server.
    Thanks
    Murray

    OK. Then it could be disable constraint, insert/update, enable constraint. In any case, we need exact output.
    SQL> create table tbl(c1 number);
    Table created.
    SQL> alter table tbl ADD ppv_flag                   char(1)       DEFAULT 'N'   not null
      2          CONSTRAINT ckc_gso_ppv_flag CHECK (ppv_flag IN ('Y','N'));
    Table altered.
    SQL> alter table tbl disable constraint ckc_gso_ppv_flag;
    Table altered.
    SQL> insert into tbl values(9,'X');
    1 row created.
    SQL> alter table tbl enable constraint ckc_gso_ppv_flag;
    alter table tbl enable constraint ckc_gso_ppv_flag
    ERROR at line 1:
    ORA-02293: cannot validate (SCOTT.CKC_GSO_PPV_FLAG) - check constraint violated
    SQL>
    SY.

  • Error about using a concatenated calculated column in a SSAS Tabular model

    Hi,
    in a my tabular model I've added in a dimension table a calculated column concatenating a code and a description. The code is used to create a relation between a fact table and this dimension table.
    When I try to use the tabular model inside Excel and select the concatenated column as a filter I've this error message:
    I've tried to recalculate some times the tabular database after the deployment of the model changes and I've tried to run a full process of the entire database but any results.
    Any suggests to me in order to solve this issue, please?
    Thanks

    Hi, I've solved. The concatenate formula was with "+" operator and not "&".
    But during the column creation I've any errors also if the model in SSDT was empty.
    Bye

  • SharePoint Designer 2010 Error occurs when accessing Edit Form: "The server returned a non-specific error when trying to get data from the data source ..." This occurs when using "" in a calculated column in a SharePoint List

    I created a calculated column "Expiration Date" in SharePoint 2010 with formula, =IF([Contingent Hire]=TRUE,(Created+90),(IF([Contingent Hire]=FALSE," ")))
    This works in the SharePoint list but when I go to edit the Edit Form in Designer. I get the error specified in the title of this post. I'm trying to make it so the Expiration Date is blank when another column, "Contingent Hire" (a YES/No
    column) is FALSE.
    The Edit Form is essentially a DataViewWebpart. If I remove the " ", like so, "(IF([Contingent Hire]=FALSE,))" from the calc column, the error goes away; however, the Expiration Date field does not
    remain blank like I want it to.
    Does anyone have any suggestions? (Below is the error generated when I open Designer and then try to open the Edit form for the corresponding list containing the calc column)
    JackSki123

    Hi Jack,
    Could you provide a screenshot about this issue?
    As Dimitri suggested, you can install the update for your SharePoint Designer and check again.
    And you can also check if you can display "NA" instead of " " in your calculated column per the following post.
    http://rajeshspillai.blogspot.in/2012/03/server-returned-non-specific-error-when.html
    Thanks
    Daniel Yang
    TechNet Community Support

  • Sorry, something went wrong error when adding a calculated column

    Hi I tried add a column via calculation, and it seems to not be correct because I keep getting a syntax error.. Can anyone tell me why or where I went wrong?
    This is a dropdown box when a certain CIRCUIT TYPE is selected it would out put a calculation...
    56, 56SW, 56FR are using the same calculation
    DDS IDSL, ISDN TR, ISDN are using the same calculation
    HDSL, HDSL2, HDSL4 are using the same calculation
    Thank you... Here is the calculation below...
    =IF([Circuit Type]="ISDN",(([F1 Makeup (26)]+[F1 bridge tap (26)]+[F2 Makeup (26)]+[F2 bridge tap (26)])*2.81)+(([F1 Makeup (24)]+[F1 bridge
    tap (24)]+[F2 Makeup (24)]+[F2 bridge tap (24)])*2.03)+(([F1 Makeup (22)]+[F1 bridge tap (22)]+[F2 Makeup (22)]+[F2 bridge tap (22)])*1.42)+(([F1 Makeup (19)]+[F1 bridge tap (19)]+[F2 Makeup (19)]+[F2 bridge tap (19)])*0.84),
    IF([Circuit Type]="DDS IDSL",(([F1 Makeup (26)]+[F1 bridge tap (26)]+[F2 Makeup (26)]+[F2 bridge tap (26)])*2.81)+(([F1 Makeup (24)]+[F1 bridge tap (24)]+[F2 Makeup (24)]+[F2 bridge tap (24)])*2.03)+(([F1 Makeup (22)]+[F1
    bridge tap (22)]+[F2 Makeup (22)]+[F2 bridge tap (22)])*1.42)+(([F1 Makeup (19)]+[F1 bridge tap (19)]+[F2 Makeup (19)]+[F2 bridge tap (19)])*0.84), IF([Circuit Type]="ISDN T.R.",(([F1 Makeup (26)]+[F1 bridge tap (26)]+[F2
    Makeup (26)]+[F2 bridge tap (26)])*2.81)+(([F1 Makeup (24)]+[F1 bridge tap (24)]+[F2 Makeup (24)]+[F2 bridge tap (24)])*2.03)+(([F1 Makeup (22)]+[F1 bridge tap (22)]+[F2 Makeup (22)]+[F2 bridge tap (22)])*1.42)+(([F1
    Makeup (19)]+[F1 bridge tap (19)]+[F2 Makeup (19)]+[F2 bridge tap (19)])*0.84), IF([Circuit Type]="56",(([F1 Makeup (26)]+[F1 bridge tap (26)]+[F2 Makeup (26)]+[F2 bridge tap (26)])*2.45)+(([F1 Makeup (24)]+[F1 bridge
    tap (24)]+[F2 Makeup (24)]+[F2 bridge tap (24)])*1.85)+(([F1 Makeup (22)]+[F1 bridge tap (22)]+[F2 Makeup (22)]+[F2 bridge tap (22)])*1.3)+(([F1 Makeup (19)]+[F1 bridge tap (19)]+[F2 Makeup (19)]+[F2 bridge tap (19)])*0.77),
    IF([Circuit Type]="56SW",(([F1 Makeup (26)]+[F1 bridge tap (26)]+[F2 Makeup (26)]+[F2 bridge tap (26)])*2.45)+(([F1 Makeup (24)]+[F1 bridge tap (24)]+[F2 Makeup (24)]+[F2 bridge tap (24)])*1.85)+(([F1 Makeup (22)]+[F1
    bridge tap (22)]+[F2 Makeup (22)]+[F2 bridge tap (22)])*1.3)+(([F1 Makeup (19)]+[F1 bridge tap (19)]+[F2 Makeup (19)]+[F2 bridge tap (19)])*0.77), IF([Circuit Type]="56FR",(([F1 Makeup (26)]+[F1 bridge tap (26)]+[F2
    Makeup (26)]+[F2 bridge tap (26)])*2.45)+(([F1 Makeup (24)]+[F1 bridge tap (24)]+[F2 Makeup (24)]+[F2 bridge tap (24)])*1.85)+(([F1 Makeup (22)]+[F1 bridge tap (22)]+[F2 Makeup (22)]+[F2 bridge tap (22)])*1.3)+(([F1
    Makeup (19)]+[F1 bridge tap (19)]+[F2 Makeup (19)]+[F2 bridge tap (19)])*0.77), IF([Circuit Type]="19.2",(([F1 Makeup (26)]+[F1 bridge tap (26)]+[F2 Makeup (26)]+[F2 bridge tap (26)])*1.73)+(([F1 Makeup (24)]+[F1 bridge
    tap (24)]+[F2 Makeup (24)]+[F2 bridge tap (24)])*1.31)+(([F1 Makeup (22)]+[F1 bridge tap (22)]+[F2 Makeup (22)]+[F2 bridge tap (22)])*0.96)+(([F1 Makeup (19)]+[F1 bridge tap (19)]+[F2 Makeup (19)]+[F2 bridge tap (19)])*0.59),IF([Circuit
    Type]="DDS T.R.",(([F1 Makeup (26)]+[F1 bridge tap (26)]+[F2 Makeup (26)]+[F2 bridge tap (26)])*1.91)+(([F1 Makeup (24)]+[F1 bridge tap (24)]+[F2 Makeup (24)]+[F2 bridge tap (24)])*1.46)+(([F1 Makeup (22)]+[F1
    bridge tap (22)]+[F2 Makeup (22)]+[F2 bridge tap (22)])*1.08)+(([F1 Makeup (19)]+[F1 bridge tap (19)]+[F2 Makeup (19)]+[F2 bridge tap (19)])*0.64),IF([Circuit Type]="HDSL",(([F1 Makeup (26)]+[F2 Makeup (26)])*3.88+(([F1
    Makeup (24)]+[F2 Makeup (24)])*2.84)+(([F1 Makeup (22)]+[F2 Makeup (22)])*2.18)+(([F1 Makeup (19)]+[F2 Makeup (19)])*1.5)+(([Num of F1 BTs]+[Num of F2 BTs])*3)+[Num of F1 Guage changes (HDSL)]+[Num of F2 Guage changes (HDSL)]),
    IF([Circuit Type]="HDSL2",(([F1 Makeup (26)]+[F2 Makeup (26)])*3.88+(([F1 Makeup (24)]+[F2 Makeup (24)])*2.84)+(([F1 Makeup (22)]+[F2 Makeup (22)])*2.18)+(([F1 Makeup (19)]+[F2 Makeup (19)])*1.5)+(([Num of F1 BTs]+[Num
    of F2 BTs])*3)+[Num of F1 Guage changes (HDSL)]+[Num of F2 Guage changes (HDSL)]), IF([Circuit Type]="HDSL4",(([F1 Makeup (26)]+[F2 Makeup (26)])*3.88+(([F1 Makeup (24)]+[F2 Makeup (24)])*2.84)+(([F1 Makeup (22)]+[F2 Makeup
    (22)])*2.18)+(([F1 Makeup (19)]+[F2 Makeup (19)])*1.5)+(([Num of F1 BTs]+[Num of F2 BTs])*3)+[Num of F1 Guage changes (HDSL)]+[Num of F2 Guage changes (HDSL)]),0)))))))))))
     

    Two possible issues:
    Maximum formula length is 1024 characters, and you have nearly 4000.
    Maximum nesting is 7 or 8 levels.
    http://blog.pathtosharepoint.com/2010/04/12/maximum-number-of-if-statements-in-a-calculated-column/
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Calculated column shows all zeros in cross tab discoverer report

    Hi
    I have a calculated column in a cross tab report which shows all zeros, but when i duplicate the report as 'table' the calculated colun is getting populated.
    i did not understand why it is doing like that, are there any special privileges or any special settings required for creating a cross tab report.

    Hi,
    No there is no special privs for cross tab but there is an aggregation issue.
    There are some methods of aggregations used in the discoverer.
    First thing you can so is to make sure that in the cross tab sheet you use the detailed data points and that you are not combining different levels of aggregations (for example one amount in details and another one summed).
    Second thing you can try is to change the aggregation for this worksheet, you can do that by going to the worksheet properties to the aggregation tab and try to change the settings.
    Third thing is to check the pref.txt file in the application server and set "AllowAggregationOverRepeatedValues" to 1
    BTW also search your data and find whether you got NULL values in the aggregated items, if so then wrap the data points with NVL function.

  • Workflow giving "Suspended" Error on Calculated Columns- Sending Reminder Emails on List Due Date

    I have created a list that has our reporting due dates plus calculated columns for 5 and 10 day reminders.
    Example:
    Due Date: 3/7/2014 1:00 PM
    5 Day Reminder (Calculated Column= [Due Date] – 5): 3/2/2014 1:00 PM
    10 Day Reminder (Calculated Column= [Due Date] -10): 2/25/2014 1:00 PM
    As you can see in the list, it calculates the (5 and 10 day) reminder dates correctly in the list… 
    However, what I am wanting to happen is to build a workflow that will automatically trigger and send these reminder emails.
    In SP 2013 Designer, I have my conditions set as: 
    I can go in on the list and set the workflow but once the due date/time comes up… The status changes from "Started" to "Suspended"-- I never receive a reminder email and I get the following error:
    "RequestorId: ff5dac1d-ccee-ba1b-0000-000000000000. Details: RequestorId: ff5dac1d-ccee-ba1b-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP
    500 {"error":{"code":"-1, System.FormatException","message":{"lang":"en-US","value":"String was not recognized as a valid DateTime."}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["33"],"SPRequestGuid":["ff5dac1d-ccee-ba1b-8934-5a9d0c69d3c4"],"request-id":["ff5dac1d-ccee-ba1b-8934-5a9d0c69d3c4"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 25 Feb 2014 18:49:09 GMT"],"Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
    executor, BookmarkManager bookmarkManager, Location resultLocation)"
    The string I have set up within SP Designer for the dates is:
    If Current Item:Due Date
    equals Today
    If Current Item:5 Day Reminder
    equals
    Today
    If Current Item:10 Day Reminder
    equals
    Today
    Any ideas as to what I am missing?
    Thank you in advance!
    Amanda

    Hi,
    To start the workflow, we have three options:
    If you select the “start the workflow automatically when an item is created” or “start the workflow automatically when an item is changed”, the workflow can be started automatically.
    If you don’t, your workflow will never run, and therefore never wait till the date specified.
    The “Pause Until Date” action causes a workflow to pause executing until a specified date and time.
    If current day is equal to the specified date, it will execute the next step.
    More information:
    Workflow actions quick reference (SharePoint 2013 Workflow platform)
    http://msdn.microsoft.com/en-us/library/jj164026.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Discoverer Row wise calculation columns

    Can You use Excel type Formulations in discoverer?
    Meaning Can a calculation column that calls the row into a formula such as a general
    i.e. Apples, bananas, oranges ROWS Calculation Column ROW / Total fruit
    That include crosstabs such as time and let's say grocery store
    Also there is a requirement that states if percent of apple fruit is greater then 50% of total fruit then a string such as "more then half" must be displayed in a calculation column....
    The actual formulas are more complicated however these examples are to find out discoverer functionality.
    Thanks way in advance....

    Can You use Excel type Formulations in discoverer?
    Meaning Can a calculation column that calls the row into a formula such as a general
    i.e. Apples, bananas, oranges ROWS Calculation Column ROW / Total fruit
    That include crosstabs such as time and let's say grocery store
    Also there is a requirement that states if percent of apple fruit is greater then 50% of total fruit then a string such as "more then half" must be displayed in a calculation column....
    The actual formulas are more complicated however these examples are to find out discoverer functionality.
    Thanks way in advance....

  • Strange error in calculator

    Hi community,
    there is a strange error in calculator or in my system. If I use the -/+ in the calculator it changes the number.
    Try this.
    Put in 51,99 and hit the -/+ sign. In my system it changes the number to -51,98999999999999.
    I also tried it for some number around 40. There is the same thing happens. I tried higher and lower numbers, they are working fine. Can anybody reconstruct this?

    Could I ask you to try something for me - I've been trying to get someone to try this on couple of forums but no luck.
    I can't secure empty trash in Yosemite if it contains a locked file. It appears to do it but the file remains.
    So if you could create a simple locked file - text, pdf anything and delete it to trash. Then try Secure Empty Trash and see what happens.  I get the "Remove Locked Item?" window option and select it but the window closes and trash doesn't empty. If I unlock the file it still won't empty but it will empty under the normal "Empty Trash" option.
    Big help if you could give it a go?
    Thanks

  • Getting an error while using if statement in calculated column.can anyone please help me with this issue

    I am trying to learn HANA on my own.i have product id,product name,delivery date and Grossamount in my calculated view.i am trying to create calculated column where i need Grossamount in two columns based on delivery date.I have 2012 and 2013 as values for my delivery date.so i have created two column as grossamount_2012 and grossamount_2013.if i have delivery date as 4thdec,2012 i want the grossamount value to be in coloumn grossamount_2012 and the grossamount_2013 should be blank.i have written an expression like this
    if("Deliverydate" <= longdate(2012-12-04),"Grossamount","0")
    and it looks like this is wrong.i am getting the text Grossamount rather than values for that field in my output.so can anyone help me please?

    Hi chandra
    i am trying to get the same result by using sql script and CE functions.i have written the following code
    select A."PRODUCTID",
           E."TEXT" as "PRODUCTNAME",
           C."COUNTRY",
           D."DELIVERYDATE",
           Sum(D."GROSSAMOUNT") as "GROSSAMOUNT"
           from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Products" as A     
           inner join "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.BusinessPartner" as B
           on A."SUPPLIERID" = B."PARTNERID"      
           inner join "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses" as C
           on B."ADDRESSID" = C."ADDRESSID"
           inner join "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.Purchase.Item" as D
           on A."PRODUCTID" = D."PRODUCTID"
           inner join "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.Util.Texts" as E
           on A."NAMEID" = E."TEXTID"
           GROUP BY A."PRODUCTID",E."TEXT",C."COUNTRY",D."DELIVERYDATE"; 
    this is working fine but i want to split the grossamount based on current year and last year.Any idea how to do this
    In calculation view using script can we use if and case statements?

  • Error in Calculated Column (using Today) in DataSheet View

    I  have a calculated column which display's the value based on the difference between today and requested date field.
    =Today-[Requested Date]
    This is working fine in SharePoint Standard View. But the same is not working with the datasheet view . The calculated column is showing as below
    =#NAME?-[Requested Date].
    Due to this i am not able to save the data. Can anyone please let me know how to solve this ?

    Hi,
    First I have used today() function to calculate difference between 2 days except working days. The list is not automatically updating. If we change the Start_Date, then it calculates and gives the value. Can you suggrest me why this happens?
    You have metioned in your post that there is some tricks in using today() function. I have created seperate Today_Date column in my list. And Used the same column name in finding difference between 2 days. Here also the same problem exists.
    The formula I used is, =IF(AND((WEEKDAY([Today Date],2))<(WEEKDAY([Release Date],2)),((WEEKDAY([Release Date],2))-(WEEKDAY([Today Date],2)))>1),(((DATEDIF([Release Date],[Today Date],"D")+1))-(FLOOR((DATEDIF([Release Date],[Today
    Date],"D")+1)/7,1)*2)-2),(((DATEDIF([Release Date],[Today Date],"D")+1))-(FLOOR((DATEDIF([Release Date],[Today Date],"D")+1)/7,1)*2)))
    please suggest me how to get Difference between 2 date  values get automatically updated everytime, when i open the list.
    Abi Nachammai

  • Strange error in OWB

    Hi All,
    I have been trying to run a mapping it validates successfully, but when it generates the script it takes the space off in the FOR LOOP and the mapping is not getting deployed.
    Ex.
    BEGIN
    FOR I IN 1..20 LOOP
    XXXXX
    END LOOP ;
    END;
    It takes the space between in and 1 and it compiles as FOR I IN1. .20 loop and so it throws an error while deploy the mapping. Has anybody come across this kind of error? I am struggling to fix this issue.
    Please let me know if anyone of you have come across and solved this kind of issues?
    FYI: I am using 11.1.0.7 version of owb.
    Thanks
    OWB Newbie

    Hi,
    In the report I have two worksheet. The Ist worksheet has the same calculated columns as 2nd worksheet. Even the calculations are also the same. The only difference is I use different folder for the 2nd worksheet. For 2nd worksheet layout only the calculated columns will not display the result.The other columns displayed the result properly. Even in the Ist worksheet all the columns including calculated columns displayed the result correctly.The calculations are same in the 2nd worsheet with calculation names different and items coming from different folder. As these calculations are working properly in Ist worksheet,why its not appearing in the 2nd worksheet? The query I paste before is the Discoverer show sql query for 2nd worksheet.
    Please help.

  • Problem when creating a calculated column "Item has already been added"

    Hi,
    I built an a set of lists and custom content types which are made available under http://moss/callcenter. When I want to create a new calculated column for one of my custom content types i get the following error
    Item has already been added. Key in
    dictionary: 'Strasse_Strasse'  Key being added: 'Straße_Straße'
    This is rather strange as I don't even get as far as creating that new column. The error occurs right when I select the type calculated column, even before I enter a name for the new column. How ever, when I want to create a calculated column in root site collection (http://moss/) this error does not occur and I can create the new column.
    Any ideas anyone?
    Thank you,
    Christoph

    hi,
    you can try below thing
    http://blogs.msdn.com/b/timquin/archive/2009/02/11/sharepoint-item-has-already-been-added-key-in-dictionary-484-key-being-added-484.aspx
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • DAX - IF statement and filters within calculated column

    Hi all,
    I've got a bit of a complex formula I'm trying to run, but I'm not quite there yet.  I don't know where/how/if I can place a filter within my IF statement for a calculated column due to so many variables.  I either get errors or wrong numbers. 
    Hope the following makes sense. 
    Here is my formula for the calculated column [Years Since Last Task]:
    =IF (ISBLANK([Last Task Date]) && ([Current Role]<>BLANK()), DIVIDE([Quarters],4), FLOOR(1. * ( today() - [Last Task Date]) / 365, 0.25))
    Problem:  I am getting "114.25" for Ken....but I want a blank result instead.  Meaning, I need to also filter out any name (row) who has a blank [Current Role].  How do
    I add a filter to this current formula?  Is one more step of filtering possible in this IF statement?  (Maybe I shouldn't use an IF statement, and try CALCULATE instead?)
    Below is the table 'Work' for you to see what's happening.
    Name
    Quarters
    Last Task Date
    Current Role
    Years Since Last Task
    John
    1
    1
    0.25
    Mike
    4
    2/7/2011
    3
    3
    Todd
    5
    4/20/2009
    4
    5
    Jeff
    9/1/2013
    3
    0.5
    Ken
    0
    114.25
    Steve
    2
    12/3/2011
    2
    2.25
    Nate
    2
    1/1/2014
    2
    0.25
    Greg
    1
    8/11/2013
    1
    0.5
    Ross
    4
    11/9/2010
    4
    3.25
    Hope all this made sense.  Let me know if you have any thoughts.
    Thanks,
    ~UG1

    you can use nested IF-statements here:
    =IF (ISBLANK([Current Role]),
    BLANK(),
    IF(ISBLANK([Last Task Date]),
    DIVIDE([Quarters],4),
    FLOOR(1. * ( today() - [Last Task Date]) / 365,0.25)
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

Maybe you are looking for

  • Drag and drop in Page Builder

    Hi, Is there any way to enable drag & drop between ContentItem components in the Page Builder interface without having to do custom Flex programming? We would like to allow the user to switch a cartridge position in a page template without having to

  • My itunes doesnt connect to the internet

    the ipad software update server couldnt be connected,,,

  • N80 and WiFi EAP-LEAP

    Hi Forum, I have had huge problems with WiFi, hence I got it firmware upgraded to the p.t. latest fw version 4.0623.0.41 RM-92 N80 (03). Now WiFi and Bluetooth works alot better and sure alot faster. I recommed getting latest fw ! I discovered that L

  • Please help me to prepare correct procedure.

    Hi, My oracle database version is 10.2.0.5 Please help me to prepare correct procedure. Description of Stored Procedure is below: DECLARE PNAME Define_Globals.varr255; DECLARE PWEIGHTS Define_Globals.varr50; DECLARE PYEAR Define_Globals.varr50; BEGIN

  • TS4268 My iMessages linked between phone, macbook, and iPad

    Orinigally the imessage was linked between all of my mac products (if I received or sent a text it would be on all of them). Now on my macbook and ipad they send via my gmail account instead of my phone number. How do I link them again?