Total subtract value obiee 11g

Hi All,
I have this kind of report:
payroll
earnings 500
deductions -100
grand total: 600
I use OBIEE 11.1.1.3 , and for the deductions I use formula column (case when deductions then value*-1).
Is this bugs in Obiee 11.1.1.3?so the grand total show the wrong value?
Regards
JOE

Hi,
Here is my physical sql:
SET VARIABLE QUERY_SRC_CD='Report';SELECT s_0, s_1, s_2, s_3 FROM (
SELECT
0 s_0,
"Human Resources - Payroll"."Dim - Pay Element"."Element Group" s_1,
"Human Resources - Payroll"."Fact - Payroll"."Total Amount Paid"*(-1.00) s_2,
REPORT_AGGREGATE("Human Resources - Payroll"."Fact - Payroll"."Total Amount Paid"*(-1.00) BY ) s_3
FROM "Human Resources - Payroll"
WHERE
("Dim - Pay Element"."Element Group" <> 'Information')
) djm ORDER BY 1, 2 ASC NULLS LAST
Do I need add this in my instanceconfig.xml?
<ReportAggregateEnabled>true</ReportAggregateEnabled>
Thank you before
Regards
JOE

Similar Messages

  • Row subtraction in obiee 11g

    Hi ,
    I want to display my report as given below. I have achieved till displaying the values using pivot table in obiee 11g
    India
    Product     amount
    a     50
    b     35
    America
    Product     amount
    a     100
    b     50
    Can someone help me to achieve the below substraction of rows in obiee 11g ?
    India
    Product     amount
    a     50
    b     35
    a-b     15
    America
    Product     amount
    a     100
    b     50
    a-b     50
    Thanks,
    Pavni

    Hi...
    Follow the steps:
    1)Create a Pivot view
    India
    Product amount
    a 50
    b 35
    America
    Product amount
    a 100
    b 50
    2) Click on selection steps:
    Under the product column click on Then, New Step... ->      Add Groups or Calculated Items -> New Calculated Item
    or (else u can select this option New Calculated Item from result pane besides New View)
    Display Label Name: a-b
    Values From: Product
    Function: Custom
    Here u should select and write condition like
    Product a - Product b
    Click ok, then save....
    See the result......
    Mark as a correct it helps u....
    Thanks

  • Problem with dashboard prompt initial value (OBIEE 11g)

    Hi alli,
    I have a problem with dashboard prompt and session variable in OBIEE 11g.
    I have declared a session non-system variable which I set/change with dashboard prompt. At login the variable is initialized in initialization block that gets a value from an SQL select statement.
    When I change the value in prompt, the session variable changes accordingly, as it should (change is made by calling function NQSSetSessionValue() within javascript function). While I am in my dashboard, cruising around pages the variable stays the same, and when I return to the page that has prompt on it, the correct value is shown. Everything works fine.
    The problem occures when I go to Catalog (in presentation services) to create some new Answers. When I return back to the same page in dashboard (which has a prompt), the prompt selected value and session variable are set back to the default value. It looks like the initialization block is executed again.
    My prompt is configured like this:
    - Choice List Values: SQL Results
    - Default selection: Variable Expression (@{biServer.variables['NQ_SESSION.VariableName']} )
    - Set a variable: Presentation Variable
    Is there a way to stop the initialization block from executing again? Isn't it logical that the initialization block executes only at login, when the session variable is empty? I don't need it to execute every time i come to the dashboard.
    Thanks in advance,
    Marko
    Edited by: markor on 14.3.2011 8:58

    How and where do you use the nqssetvalue() function.
    I tried it in several places but it doesn't work.
    Can you help me, please!
    Thanks

  • Constraining writeback values (OBIEE 11g)

    Hi, have a quick question. For a very simple OBIEE write back application, we'd like to collect some high level category info and a text description from end users. For the text description it will be completely free form, but for the category info, I'd like to constrain the writeback field so that the end users can only enter a valid value from a list of 10 or so categories.
    Is this possible to do? Would be really great if for the category column, instead of showing a text box, if it could be a dropdown constrained to the values we want....but no clue if that's possible.
    Thanks in advance for any ideas!
    Scott

    SPowell42 wrote:
    The crux of my issue is that I'd really prefer to have users pick from a list of predefined values vs. just keying in anything in a free form text field. I can definitely validate stuff on the database side...but if it kicks back as an "invalid value" then I have to throw error messages, not do the update, etc. I'd much prefer if there was a simple way to constrain the user to only allow them to choose (for example, from a dropdown) valid values.
    Thanks,
    ScottI dont have a solution for this but just wanted to share some thoughts. This functionality you are trying to build is pretty easy if you are building a jspx page using Jdeveloper via ADF. With the limitations of OBIEE's write back capabilities, you might want to take a look at the advantage of the action frame work which can be used to integrate OBIEE reports with external jspx page to pass values from columns etc which can inturn be passed into the SQL that would run behind the scene's of the jsp page, and you can build all the writeback functionalities you need there.
    We have implemented similar solution for a requirement, and taking the writeback functionality to an external page had opened us so many possibilities.
    I know this might require a resource that can build stuff like this in Jdeveloper, but IMHO it's not that hard to learn. Oracle has pretty detailed material which should get you through building something like this if you decided to.
    Everyone reading this , have a great labor day weekend! :)
    Thanks,
    -Amith.

  • Grand Total Level in OBIEE 11g

    Hi ,
    I had a report with product name , order number , order quantity , order amount as columns .
    Now i want add a new column at the bottom level as grand total for ordered amount.
    Can some one please tell me how to do that ,,,I am in hurry
    Thank you

    Hi,
    If you already had the aggregation rule of the ordered amount as sum, then in the table, you can enable row level summation. In the table editor, just on top of the rows section, there is a summation icon that you can click on and set the option as 'after'.
    If you have already tried this thing and if it does not work then you may want to try the narrative view option. Here are steps for it.
    1. Create a new column.
    2. Change the function as RSUM(order quantity).
    3. In the narrative view use this column as @5 (I think you already have 4 columns and hence this might be 5th column)
    Hope this helps.
    Thank you,
    Dhar

  • How to hide % measure column Grand Total  value in Pivot View in obiee 11g?

    Hi ,
    I am facing a issue in obiee 11g .I am using a Pivot table to display the grand total of 3 metric columns eg: A , B,  C out of which B is percentage  so I need to remove the grand total value of the percentage column. We have to stick to Pivot View only. Anyone can sugest me on this?
    Thanks ,
    Shruti

    Move B to rows section or cast to char in Criteria tab by keeping the B in Measures section only.
    cast(B as char)

  • OBIEE 11g Report-When drilling down to lower level, totals are not matching

    Hi All,
    I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let’s say Budget Cost/Actual Cost based on the Date Dimension
    Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost
    FY BCost ACost
    2011 100 120
    2012 150 140
    Total 250 260
    But here when I am drilling down from Year to Quarter and Period - The values are not matching with the totals....
    FY FY Qrt BCost ACost
    2011 2011 Q1 80 100
    2011 Q2 100 90
    2011 Q3 110 120
    2011 Q4 90 130
    Total 380 440
    Fiscal Year, Fiscal Quarter Budget Cost and Actual Cost are not returning correct results – When selecting cost's by fiscal year, or filtering on a specific fiscal year, the amount returned does not equal the fiscal year total;
    when I am drilling down to Quarter and Period Level the BCost & ACosts are bumping the Numbers as above and not matching with totals
    Any suggestions?

    Check out the query in both the times.Execute against database and try to sum the data for quarter/period and compare it with Year data.
    Just try to differentiate is it a report total that is getting wrong or the data in the database table itself is getting wrong stored.
    Mark as helpful if it helps.
    Regards,
    Veeresh Rayan

  • Formatting Totals in OBIEE 11g

    Hi,
    we have a requirement to format the totals of a table in obiee 11g.
    When I format the totals, the formatting selections I made is not applied for all the entire totals section.
    If the table has more than one dimension values in it, the formatting changes on Totals section is applied only for the first cell in the section.
    However, the formatting changes of Totals section are fine for the measures added.
    Please refer the screenshot in the below url
    http://tinypic.com/r/346q4p1/6
    In the screenshot, I expect the cell under Month dimension in the Totals row to have grey color as the back ground.
    Could someone help me out with this issue.
    Regards,
    Pavan K.

    Can you share your code that helps to understand issue.
    Appreciate if you update your other post and helps you to get responses ;)
    Aggregation in logical columns in obiee

  • OBIEE 11g Unable to browse multiple value hierarchy for analysis.

    Hi All,
    We are using OBIEE 11g Value Hierarchy feature to display GL Segment Hierarchies.
    -     We have set the hierarchies to be Ragged and Skipped Levels in the RPD Business Model.
    -     We have dragged the hierarchies from Business Model to Presentation Layer.
    -     When selecting the hierarchies during Analysis, the first hierarchy that is browsed appears correctly. The next hierarchy when browsed just hangs.
    For example:
    Step 1: Browse Hierarchy1 (Block). The values show correctly.
    Step 2: Browse Hierarchy2 (Account). The hierarchy does not open with a blinking circle remaining forever.
    Alternatively;
    If we selected, Hierarchy 2(Account) first, the hierarchy shows correctly, but when selecting Hierarchy1 (Block) a blinking circle appears and remains for ever without opening the hierarchy.
    The nqquery.log shows correct result. My suspicion is that the issue is on the front end presentation services/javascript side.
    Is there any additional setup/configuration required to open multiple value hierarchies during analysis.
    Thanks and Regards,
    Sasi

    I have a pretty good guess at the hanging problem, unforntunitly i have no solutions yet.
    I having same type of issue, hangs when building filters on for 2nd or 3rd dim table.. I can see obiee fireing off the query to populate the dropdown by running
    select distinct on and joining to the fact table and dimensions that the users usually have selecte prior to start creatinng the filters.
    It is sort of like doing a intra dimension filter.. Sounds good but if user does not cut way down on number of fact rows by the time 2nd filtered column is selected the generated query to populate the drop down can run and run.
    OBI SE Once and discoverer dd not do this, at least not out of the box.

  • OBIEE 11g Prompt's default value doesn't work with a presentation variable

    Hi, I'm using OBIEE 11g and I have two dashboard prompts (Product Name and Product Number). Theses prompts are hierarquical, so the values that are displayed in the Product Number prompt have dependency with the values chosen on the Product Name prompt. This I was able to do, but now I want to put a default value on the Product Number prompt. The steps are:
    1 - The user chooses the value for the Product Name Prompt and by doing that the Product Number prompt is automatically filled with the correspondent value.
    But unfortunatelly this is not working, after choosing the value for the Product Name the default value for Product Number is not displayed (when you open the prompt the values displayed are correct and already filtered considering the Product Name but the prompt is not automatically filled with the default value).
    What I did is:
    On the Product Name Prompt I've created a Presentation Variable called PROD.
    On the Product Number Prompt I've selected:
    1 - For the "Choice List Values" field I've checked the option "Limit Values by All Prompts"
    2 - For the "Default Selection" field I've chosen the SQL Results option and enter the following SQL:
    SELECT "Products"."Product Number" FROM "Sample Sales Lite"."Products" WHERE "Products"."Product"='@{variables.PROD}
    What am I doing wrong?
    Thank you,
    Carla

    Sorry I was wrong in my previous thread.
    Actually your approach is not correct, Product Number choose constraint that will show as per the selection of Product Name.
    Coming to default value for Product Number you are going for sql override that is okay but not work with variable, instead of setting default values for product number set that to product name.
    if not you need to go for 2 different prompts
    Prompt 1 Product Name hit GO
    Prompt 2 will work based on as you defined earlier with variables
    Hope this helps

  • Display the total number of rows for the report in OBIEE 11g

    Hi, In obiee 11g, the pagination will be 1-25. Is there any possiblity in obiee to show the total rows count next to pagination. Ex: if the result contains 120 rows. it should display after the pagination
    Records 1-25. Total of Records : 120
    Is there any way we can display the total number of rows for the report.
    Kindly help me.. Its very urgent requirement.
    MAny Thank in advacne

    Check this http://obiee100.blogspot.com/2011/07/display-total-number-of-records-in.html
    and
    http://docs.oracle.com/cd/E28280_01/bi.1111/e10544/appsql.htm#CHDCDIDA
    You have to go something like as suggested in previous link.
    Mark as correct/helpful

  • Display values in legend obiee 11g

    Dear All,
    Is there a way to display values in legend for obiee 11g graph? I could not find that features. It only has show or do not show the legend.
    Thanks,
    Sushil

    is it not something like
    select columnA from SubjectAreat where
    columnA is not like '%A%'
    and columnA is not like '%B%'

  • OBIEE 11g Radio Button Value show horizontally instead of vertically

    Hi,
    Can the Radio Buttons Prompt values in OBIEE 11g be shown horizontally instead of vertically on a dashboard prompt.
    Thanks
    Kathy

    I cannot find it in the out of the box functionality. I think it might be possible with some custom programming which I do not have time to investigate.
    If somebody has done this, please let us know if it is possible.

  • Unable to do Grand Total in Pivot table view in OBIEE 11g

    Hello Experts,
    I am totaly new for OBIEE 11g
    I have created a report and wanted to do row wise total. Simple grand total in OBIEE 11.1.1.5 version. While doing the summation 'After'. I am getting a Window internet explorer Pop-up Saying the following.
    "Are you sure you want to nevigate away from this page?
    The changes that u made on this object has not been saved. Click cancel to return to the editor where u can save the object.
    Press OK to continue or cancel to return to the page".
    I tried both option, but non of the options are working.
    Please provide me a solution on priority because client is on head.
    Thanks in Advance.
    Niraj

    Hi,
    Its Permissions issue.can u please try to do it outside local mechine(just open IE8 then call the server url from outside ). i hope u tried inside server pc its limited permissions for logged in users thats why its not allowing to do edit the anaysis report.
    let say u have DEV/UAT servers the application installed with some other users (admin group user or power user) while u r accessing and doing devalopment better to use outside browers .
    Note: i have also faced same issues (IE8 browser security level permission in win 2008 server).solution u can just try to access the url from outside server.
    Thanks
    Deva

  • Stop a dimensional drill for a particular value of a column in obiee 11g

    Hi,
    I have dimensional drill been setup for Supervisor Hierarchy Table.I need to stop the dimensional drill for a particular value of the column in obiee 11g.
    Example: I have two columns
    1.Supervisor Level 1 Name
    2.Supervisor Level 2 Name
    Supervisor Level 1 Name Columns have these values.(Ram,Higher,Sam)
    Supervisor Level 2 Name Columns have these values.(Ravi,Higher,Raghul).
    If we pull Supervisor Level 1 Name Column in report which has a dimensional drill(It will navigate to Supervisor Level 2 Name).It will show
    1.Ram
    2.Higher
    3.Sam
    I should not drill on Higher value but the rest of the values(Sam and Ram will drill to Supervisor Level 2 Name) should be drillable.The same should happen for Supervisor Level 2 Name.
    Please Suggest.
    Thanks,
    Azim

    Azim,
    Don't think you can actually get this working

Maybe you are looking for

  • Problem regarding installation of drivers of hp m1005 mfp on windows 8.1(64 bit)

    i am facing problem regarding the installation of the drivers on my new windows 8.1 pc. i have already downloaded the full solution present on the website twice but found my efforts in vain.

  • No option to Batch Process in Bridge CS5

    Usually in Bridge I would go to Tools> Photoshop> Batch. But instead I am seeing Tools> Process Collections in Photoshop. Even if I go into photoshop to batch process via Bridge, the option for Bridge is greyed out and I can't select it. I am on Wind

  • Problem with Oracle Drive Advanced Properties

    I was able to successfully set up Oracle Drive however I can’t use any of the advance features such as “set properties” and “change access control lists”. When I right click on a file I get an option for Advanced Properties but when I click on that s

  • Unknown Error message keeps popping up in random places

    Hi, I'm having some trouble. I've been getting this weird error every once in a while when I try to do seeminly random things. System extension cannot be used The system extension "/System/Library/Extensions/x3nke.kext" was installed improperly and c

  • A quesion about FOREIGN KEY

    Hi, I know how to add one foreign key on a table,but don't know how to add two foreign keys at a time. The following codes have errors,somebody cound tell me how to amend it ? Many thanks ALTER TABLE A ADD CONSTRAINT a_fk FOREIGN KEY (b) REFERENCES B