Line according to calculations - PivotTable

Hello

If anyone can help with the creation of the elements of calculation in a PivotTable. I've followed this example:

http://obiee101.blogspot.com/2009/01/OBIEE-rowbased-calculations-in-pivot.html

I created an element of calculation on the column of my (month_name) pivot table, by selecting only sept & Oct:

Function: formula

(September and October)

It returns 1 for all rows in the pivot table, the months contain numerical values and there is a page based on the year element.

Can anyone help?

Thank you

Hello
Change the fx of the measurement column

count (month_column measure_col) and apply the formula calculated item and that the rule of the agg to sum

Let me know

Thank you
Saichand.v

Tags: Business Intelligence

Similar Questions

  • How to skip a line after the calculation of subtotals in SQLPlus listing reports?

    Hi guys,.
    I have a SQL * Plus list report and I would like to break after calculating subtotals after a group (on which I take a break on). Currently, I am to be able to make a jump after the Group of not after the subtotal line.


    Here's what the output is supposed to look like. I want that back after the Subtotal line distribution. Currently, sound not to do so.

    Any help would be appreciated.
                                             
     YEAR  DESCRIPTION  TYPE        AMOUNT     ID        PURPOSE              DATE        Allocated      Used   Not Allocated           
    ----- -----------  ----------- ---------- --------- -------------------- ----------  --------- ---------   -------------           
     2010 XXXXXXXXXXX  XXX         9,999.00   99999     XXXXXXXXXXXXXXXXXXXX 2010/01/01      13.50      3.50            0.00           
                                                                                                                                        
                                   ********** *********                                  --------- ---------   -------------           
                                   Sub-total:                                                13.50      3.50            0.00           
    
                       XXX         9,999.00   99999     XXXXXXXXXXXXXXXXXXXX 2010/01/01     108.50     80.50           28.00           
                                              99999     XXXXXXXXXXXXXXXXXXXX 2010/01/01      42.00     28.00           14.00           
                                              99999     XXXXXXXXXXXXXXXXXXXX 2010/01/01       1.00      1.00            0.00           
                                                                                                                                       
                                   ********** *********                                  --------- ---------   -------------           
                                   Sub-total:                                               151.50    109.50           42.00           
    
                       XXX         9,999.00   99999     XXXXXXXXXXXXXXXXXXXX 2010/01/01       4.00      4.00            0.00           
                                             99999      XXXXXXXXXXXXXXXXXXXX 2010/01/01       3.00      1.00            0.00           
                                             99999      XXXXXXXXXXXXXXXXXXXX 2010/01/01       6.00      6.00            0.00           
                                             99999      XXXXXXXXXXXXXXXXXXXX 2010/01/01       3.00      3.00            0.00           
                                                                                                                                       
                                   ********** *********                                  --------- ---------   -------------           
                                   Sub-total:                                                16.00     14.00            0.00           
    
    ***** **** ******* ************                                                      --------- ---------   -------------           
    Total                                                                                   181.00    127.00           42.00           
                                                                                                                                        
                                                                                                                                        

    Hello

    Add "SKIP 1" to the PAUSE command:

    BREAK   ON  amount      SKIP    1
    
  • Line number in the PivotTable

    Hi all

    How can I add line number in PivotTable? I tried with the County, but it does not work.

    Thank you

    The columns that I used to test are class channel, quantity sold, etc. Obviously, you are not familiar with the sales sample, SH. model

    Class channel values direct, indirect and secondly, as I put it in the part of the column of the pivot.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • Update multi lines according to a table of update

    Hello!

    I want to update multiple rows in a table according to a table of update like this:

    key
    col_a
    col_b
    123ABCdef
    456XYZUVW
    888KLMIJK

    The table to be updated has this (and other) columns. I use this code to do the update:

    Update my_table set t0

    col_a = (select col_a updates t1 where the t1.key = t0.key)

    col_b = (select col_b from t1 updates where the t1.key = t0.key)

    where

    key (select updates button);

    It works very well, but...

    .. .it seems to be ineffective. It seems that the systems needed to create keys in the table updates. He must then go through my_table and search the table updates twice for each update. Right? OK, the system can optimize it. I hope that. Is it possible to see how the system will perform the foregoing.

    .. .is too laborious to write in code. Is there a better way to specify:

    "For any row from my_table where the key is the key of table updates, updates col_a and col_b my_table with values according to table updates?

    THX!

    Hello

    1010848 wrote:

    Hello!

    I want to update multiple rows in a table according to a table of update like this:

    key
    col_a
    col_b
    123 ABC def
    456 XYZ UVW
    888 KLM IJK

    The table to be updated has this (and other) columns. I use this code to do the update:

    Update my_table set t0

    col_a = (select col_a updates t1 where the t1.key = t0.key)

    col_b = (select col_b from t1 updates where the t1.key = t0.key)

    where

    key (select updates button);

    It works very well, but...

    .. .it seems to be ineffective. It seems that the systems needed to create keys in the table updates. He must then go through my_table and search the table updates twice for each update. Right? OK, the system can optimize it. I hope that. Is it possible to see how the system will perform the foregoing.

    .. .is too laborious to write in code. Is there a better way to specify:

    "For any row from my_table where the key is the key of table updates, updates col_a and col_b my_table with values according to table updates?

    THX!

    FUSION is often more effective than the UPDATE, precisely for the reasons you mentioned.

    Try using the MERGER: http://docs.oracle.com/database/121/SQLRF/statements_9016.htm#sthref7153

    something like:

    MERGE INTO my_table mt

    USING update u

    WE (mt.key = u.key)

    WHEN MATCHED THEN UPDATE

    SET mt.col_a = u.col_a

    mt.col_b = u.col_b,

    ;

    If you would care to post a small example of data (CREATE TABLE and INSERT statements for both tables) and outcomes from this data, I was able to test this.

    Check out the Forum FAQ: Re: 2. How can I ask a question on the forums?

  • Derivative of af: line according to requirement table

    Hi Experts,

    I am a developer using J 11.1.1.5.0,

    My scenario is,

    I have a page Jsff, jsff page have an af:table. In this table with a 100 lines,.

    My need is want to highlight the row in the table in different color based on column values.

    How to get there

    someone suggest me.

    Thank you

    There are some samples for this as the implementation of cell highlighting in JSF Rich Enterprise Applications and Andrejus Baranovskis Blog: changed line highlighting in Oracle ADF Table

    The trick is to set the background via a bean method that can decide what color to return based on the values of the row.

    Timo

  • Cannot run business ruleset using the Launcher command line for the calculation Manager

    Hello

    I use the Hyperion 11.1.2.2 planning version. I am trying to execute a business rule defined via the calc Manager command line utility. Please see the order form below,

    D:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1 > CalcMgrCmdLineLauncher.cmd /U:HBRadmin D:Capex /A:CORP S:Capex_Nightly

    At the launch of the above command, the utility starts and ends without triggering the rule in the database. See log info below,

    Local planning: en_US

    using java.library.path: D:\Oracle\Middleware\EPMSystem11R1/products/Planning/lib64

    EPM_ORACLE_HOME (D:\Oracle\Middleware\EPMSystem11R1) has the value of the property 'EPM_ORACLE_HOME' of the JVM.

    using the property of Java for Hyperion home D:\Oracle\Middleware\EPMSystem11R1

    For the non - RFP app, ask size is not necessary

    EPM_ORACLE_INSTANCE (D:\oracle\Middleware\user_projects\epmsystem1) has the value of the [EPM_ORACLE_INSTANCE] property of the JVM.

    Support RTC Essbase Version: 0xb1221

    null

    But if I try to execute a business rule with the calc Manager command-line utility, it works well. It is only rules base which poses problem. Please note that this set of rules is to have business rules that belong to a database that is Capex.

    Any help on this request would be much appreciated. Please notify.

    Thank you

    AP

    Please ignore this request,

    I found the KB article below

    Hyperion Planning Rulesets cannot be launched using the CalcMgrCmdLineLauncher planning (Doc ID 1453630.1)

    Thank you

    Arun

  • data merge] Add/Remove text line according to content?

    I have a business card design I automate using the fusion of data and cards sometimes have only 1 phone number, while others have 3.

    I want to automate it so that a paragraph/line is deleted if there is no entry.

    I tried to do, but when I launch data merge that I get is a blank line.

    I found this article:

    http://InDesignSecrets.com/RID-empty-lines-data-merge.php

  • Oracle Spatial function to find the closest channel line according to lat/long

    Hello

    Here's my scenario. I have a table that contains the geometries of type line (road network) channels. The line geomteries are of type Ohio state South (SRID 41104) plan.
    I have a requirement - given a lat/long, find the string line that aligns with this lat/long or the nearest set of strings of line at 0.02 miles.
    It is a typical example of an attempt to identify an accident on our road network situation. Accidents reported us in lat/long through the GPS system.
    How can I achieve this through any space function?

    Thanks for the help in advance.

    Thank you
    L.

    Hello L,

    SELECT
      r.
    FROM
      roadsegments r
    WHERE SDO_NN(r.geometry,
                 sdo_geometry(2001, 41104, sdo_point_type(lat,lon,NULL), NULL, NULL),
                 'sdo_num_res=2 distance=0.02 unit=mile') = 'TRUE';
    

    This will give you the two segments of road nearest you at 0.02 miles. See [url http://docs.oracle.com/cd/E11882_01/appdev.112/e11830/sdo_operat.htm#i78067] documentation on the operator SDO_NN, especially the bit about the use of the index indicator.

    HTH,
    Stefan

  • Setting the background color of the line according to a column value

    Hello

    in a classic report, I want to change the record to the red background color if the value of a specific column is 'NO' in the folder. Please help me.

    Apex 4.1
    RDBMS 11.2

    Thanks in advance
    lukx

    Hello

    Use custom report template. This post might help
    Re: Highlight a line in a tabular form, based on a column in the row

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

  • Show lines according to the date range

    RATE     EFF_FROM      EFF_TILL         SO_NO        SO_DATE
    24.5      03-07-2008     26-11-2010      001            20-03-2010
    47         27-11-2010     31-03-2012      001            20-03-2010
    The above is the result of a query. I want to display only the line where is located between EFF_FROM and the EFF_TILL SO_DATE.
    In above case 1st row lies between the range of dates, 07/03/2008 and 11/26/2010. Therefore, only the first line should appear.

    Note: even if the the SO_DATE lies between 27/11/2010 and 31/03/2012, that the opener should appear.

    Please suggest how can this be achieved?

    Sanjay

    Why not use this

    select * from (
    select 24.5 rate,'03-jul-2008' eff_from,'26-dec-2010' eff_till,001 so_no,'20-mar-2010' so_date from dual union all
    select 47 rate,'27-nov-2010' eff_from,'31-mar-20102' eff_till,001 so_no,'20-mar-2010' so_date from dual)
    where so_date between eff_from and eff_till
    

    Iqbal

  • Need help with creating table that inserts the lines according to the amount of data

    Hello

    I try to create a table for supervisors to enter their subordinates of information and inserts lines for supervisors with several of his subordinates.  This form is not be connected to a data source, the supervisors will be simply fill out the form and print.  I want it sort of look like this:

    Name Position # Ranking Hours

    I really appreciate any help.  Thank you!

    Hi Laura,

    It's very strange. I downloaded a new version on the site and it works perfectly. The script is in the right place.

    I can sugggest you right click on the download link and select "save a copy as" the alternative menu. This should save the form locally and from there, you should be able to open it in Acrobat.

    If you are a Mac, make sure that the form opens in preview from Apple.

    Also make sure that Javascript is enabled in Acrobat (in the preferences window).

    Niall

  • How to change the color of line according to the value of the column

    Hi all

    I have an obligation to change the color of the column based on the value. As I have a table of results and the State are success and failure and progresses, if the State values is the success that should appear in green and if the status is failed, that should be red...

    Here is my table ADF Trinidad read only tables.

    Can someone help me with this.

    Thank you

    Hello

    Try this:

    styleClass="#{row.bindings.Status.inputValue=='IN PROGRESS' ? 'INPROGRESS' : row.bindings.Status.inputValue}"
    
  • automatic calculation of new line is not fire

    I have a table, when I add new lines, then automatic calculation is not fire.

    Page edit >code to run when the Page loads

    $('input[name=f04]').change( function(){
      parent_row = $(this).parents('tr:first');
      sal = ( parent_row.find('input[name=f04]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f04]').val() );
    //  comm = ( parent_row.find('input[name=f08]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f08]').val() );
      total = sal * sal;
      parent_row.find('input[name=f05]').val(total);
    });
    

    workspace: ram_r & d

    username/password: aramani/apex

    App: https://apex.oracle.com/pls/apex/f?p=29288:1:6747878971079:

    That's because. change() is an affair of a Manager on the only existing items. The event must be implemented in such a way that it fires for each element, existing and new. You can do so using. on() with specifying a container element manipulation. http://API.jQuery.com/on/

    For example:

    $(document).on('change', 'input[name=f04]', function(){
      parent_row = $(this).parents('tr:first');
      sal = ( parent_row.find('input[name=f04]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f04]').val() );
    //  comm = ( parent_row.find('input[name=f08]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f08]').val() );
      total = sal * sal;
      parent_row.find('input[name=f05]').val(total);
    });
    

    Or just use a dynamic action and define the scope of "dynamic". Just as clean. Instead of "this", you use "this.triggeringElement".

    Interesting help on the "scope of the event:

    This is an advanced property allows you to specify the scope of the event. The options are:

    • Static (default) - bind the event handler for the triggers for the lifetime of the current page, but it will be linked is no longer if the precipitating elements are updated via partial refresh (PPR) Page.
    • Dynamics - bind the event handler for the triggers for the lifetime of the current page, including all the triggers that are re-created through the Page partial refresh (PPR).
    • Once - binds the handler for the elements for a single event triggers.

    And static container:

    You can improve the performance of dynamic Action that has an 'extended event"of"Dynamic", by defining a container 'Static '. It is an element on the page that itself does not get recreated, but contains triggers that are re-created via partial refresh (PPR) Page. This reference of the element must be defined as a jQuery selector.

    For example if you have a dynamic Action that does something to the lines of an interactive report region (which are re-created by PPR), it would need a 'Scope event' 'Dynamic', so that the dynamic Action to work once again, the report has been updated. And here, the 'Static Container' value can be assigned to a jQuery selector, select the static value of 'ID' in the region, for example: "#my_region."

    Who all described fairly well what was written on the jquery documentation, too.

    This is the code for the actual action of "Execute javascript code:

    parent_row = $(this.triggeringElement).parents('tr:first');
    sal = ( parent_row.find('input[name=f04]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f04]').val() );
    //  comm = ( parent_row.find('input[name=f08]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f08]').val() );
    total = sal * sal;
    parent_row.find('input[name=f05]').val(total);
    

    I edited your page to use the dynamic action and put your original code in the comments on the page.

  • Reset the base line

    Update baseline

    Hello!!
    I need to set the base line according to the actual dates, I mean, the 'new' base line must be equal to the current schedule. For activities that even 0% line base is equal to current; But if there activities actual date, I can't give themselves to the base line columns as the current. What can I do to have the dates of the base line as my current Date (current date updated dec, 10-2010). It was decided: the update of December will become the new base line. Sorry the bad English. Thanks to you all! Ricardo, from the Brazil.

    Ricardo

    You can set this by going to the value tab won of preferences ADMIN - ADMIN then won the calculation of the value you must select "joined to the budget of values with the current dates.

  • Using Applescript for formatting lines in figures

    I have a Numbers spreadsheet where I want to shade the lines according to the (odd) values in my second column (B).

    I've been everywhere in the forum, but I can't seem to find a script that is, and I can't change one and make it work.

    Anyone with a few kind words and a model? :-)

    Hi jsteinaa,

    Here's a method that does not require an Applescript.

    Add another column, C. You can hide this column later.

    Formula in C2 (fill down)

    = IF (ISEVEN (B2) ", B2," "")

    If a value of B is the same, that the cell equal to the B cell c, otherwise insert "" (NULL).

    Conditional highlighting b

    Variation: use the ISODD C function.

    Please call with questions.

    Kind regards

    Ian.

Maybe you are looking for

  • Why I can't remove applications in Launchpad?

    What I wanted to do I have some third-party applications that I wanted to remove my Mac mini. I looked online Apple online help and he informed me that the quickest way was to open the dashboard, click on the application icon until all the icons that

  • Alternative to folder (?) "Automatically add to iTunes".

    As a Windows user, I use iTunes for many others only support up to our iDevices and prefer instead to use other software to manage and play my media.  However, I'm now considering iTunes game, which means that I have to add my media folder to iTunes,

  • Rotate and move the 16-bit Image

    I would like to rotate and move a 16-bit RGB (U64 in LabVIEW) image.  The IMAQ turn and shift functions do not accept this type of image, but they do not accept an image in 16-bit grayscale (I16 in LabVIEW).  Unfortunately, this clips all values in m

  • Impossible to install the game

    Given summer egames Word Mania as a gift and finds it difficult to install.  Get the error message Your version of obsolete Microsoft DLL components is not compatible with this version of Windows. What do this mean and what do I do? Using Vista Home

  • Impossible to download and install McAfee.

    ENOUGH, PLEASE HELP ME I just got my laptop after Best Buy nearly a month, a fortune to put a brand new me and also faster hardrive in equity. I immediately buy McAfee Total Protection 2012 (which is not cheap by any means), but when I go to download