Sort to create the total columns to XLS/XLSX exported reports?

I have a script which extracts VM information for several different clients and exports separate worksheets for each client to a single worksheet. The columns include CPU, memory, DiskGB, etc.. I'm trying to figure out if there is a way to add a line as the total of the values of specific columns in the report. I did a lot of research and did not have much luck. Any suggestions?

Thank you

Trevor

Something like that?

$report = @)

Get - VM | %{

$row = "| Select Name, NumCpu, memory

$row. Name = $_. Name

$row. NumCpu = $_. NumCpu

$row. Memory = $_. MemoryMB

$report += $row

}

$total = "| Select Name, NumCpu, memory

$total. Name = "totals".

$total. NumCpu = $report | Measure-object-property NumCpu-sum | Select sum - ExpandProperty

$total. Memory = $report | Measure-object-property-memory-amount | Select sum - ExpandProperty

$report += $total

$report

Tags: VMware

Similar Questions

  • Calculate the sum of the 2 columns in the total column.

    Hello everyone.

    I have a question I hope you can help us

    I use the form of oracle 10 g , I made the table student FYI There are 5 columns ( HomeWorks, project, Midterm1, Midterm2,FinalExam), , I need to calculate these brands and put it in ( Total ) column using the form of the oracle. How to? .

    Another thing is it possible for me to restrict the user so that he can not enter more than 10 points for homework and not more than 15 points for project, etc.?

    I hope you can answer me I am really really really really grateful that I searched online, but no real solution especially for the second part of the question. will I change the varchar2 to the numbers?

    Thank you

    Yes... What you have to do is, you create when validating the element trigger on assignment, then put under code of the project

    IF (: blockname.itemname) > 20 THEN

    MESSAGE ("you must enter only less than 20 brands '");

    RAISE FORM_TRIGGER_FAILURE;

    END IF;

    Make the total, rank as a display element. Create a button contained within this block and put the code below in this WHEN the BUTTOM PRESSED trigger

    DECLARE

    v_total NUMBER;

    BEGIN

    v_total: =: Blockname. Mid1 +: Blockname. MID2 +: blockname.assignment +: Blockname. Final +: Blockname. Project;

    : blockname.total: = v_total;

    : blockname.grade: = CASE WHEN v_total<60   then ="">

    WHEN v_total<65   then ="">

    WHEN v_total<70   then ="">

    WHEN v_total<75   then ="">

    WHEN v_total<80   then ="">

    WHEN v_total<85   then ="">

    WHEN v_total<90   then ="">

    WHEN v_total<95   then ="">

    WHEN v_total<=100 then="">

    END;

    END;

  • Relation to the total column and row grand totals

    Hello world

    I have requirement I need to create a statement of expenses with BI Publisher in Siebel. I need to group the items of expense by date and have a show total amount for the row and column. The report should look like this when done:

    FEES
    Date of... Meals... Entertainment... Total
    06/19/09.........75......................175............................250
    06/20/09.........50 ..................... 50..............................100
    ------------------------------------------------------------------------
    Total... 125....................225............................350


    I do not know how to address the issue since the amounts for the "meal" and "Entertainment" is not stored in separate columns, but instead of this, there is a 'Category' column and a column 'amount '. The XML should look like this:


    < EXPENSE_REPORT >
    < ID > 232 / < ID >
    < NAME > fresh June < / NAME >

    < EXPENSE_ITEMS >
    < DATE > 19/06/09 < / DATE >
    MEAL < CATEGORY > < / CATEGORY >
    < > 25 < / AMOUNT >
    < / EXPENSE_ITEM >

    < EXPENSE_ITEMS >
    < DATE > 19/06/09 < / DATE >
    ENTERTAINMENT < CATEGORY > < / CATEGORY >
    < AMOUNT > 50 < / AMOUNT >
    < / EXPENSE_ITEM >

    < EXPENSE_ITEMS >
    < DATE > 20/06/09 < / DATE >
    MEAL < CATEGORY > < / CATEGORY >
    < AMOUNT > 50 < / AMOUNT >
    < / EXPENSE_ITEM >

    < / EXPENSE_REPORT >


    Any suggestions on how I should approach this? Thanks in advance.
    Fred

    Published by: Fred_1 on September 21, 2009 22:30

    Fred/Kumar,

    1. it should be simple enough to BEEP model too.
    2. a glance the link thread above, I answered how do in Datatemplate.
    3 Db rollup is also good option

    Look at this

    http://winrichman.blogspot.com/2009/09/cross-tab-summation-in-RTF.html

    Take a look at these too, it will help you for sure.

    http://winrichman.blogspot.com/search/label/cross%20tab
    http://winrichman.blogspot.com/search/label/BIP%20Vertical%20sum
    http://winrichman.blogspot.com/search/label/cross-tab
    http://winrichman.blogspot.com/search/label/summation%20In%20BIP

  • How to create the default column in XML schema?

    Hi all

    I would like to define a default column Let's say Run_Date as Date data type in XML (XSD) schema definition and would fill column Run_Date SYSDATE, when XML documents are parsed to this schema.
    Let me know, how can we achieve?

    Thanks in advance.

    Also, I can not change the contents of the XML file, because it is generated by another language, but I can change the definition of XML schema, if necessary.

    Well, if you can not change the XML instance, you cannot change the schema, it conforms to the.
    You can add an optional attribute whose value by default, but we can only use a static value.

    How do you insert the file into the table?

  • If you programmatically, via an INSERT statement, then I think your best bet is to create a new table with a relational schema XMLType column and a DATE column:

    CREATE TABLE employees (
      dt_created date default sysdate not null
    , xmldoc     xmltype
    , CONSTRAINT emp_pk PRIMARY KEY (xmldoc."XMLDATA".EMP_NO)
    )
    XMLTYPE COLUMN xmldoc STORE AS OBJECT RELATIONAL
    XMLSCHEMA "EMP.xsd" ELEMENT "Emp" ;
    

    If you choose to do so, remove the XML schema and enter it again with "genTables-online false."

  • If you have inserted the file via the XDB (FTP, WebDAV, createResource) repository and relying on the table by default feature, then you may be out of luck.
    There is probably a way to tamper with the underlying structure of GOLD among a hidden column do accept a default value, but since it is not supported I won't even try.

  • Sort values in the selector column in OBIEE 11 g

    Hello gurus,

    We migrated OBIEE 10 g to OBIEE 11 g (11.1.1.6). Have a few queries related to the column selectors:

    1. when I change the view of column Chooser in 11 g, the columns selected in a particular column selector is not visible. As a result, I am unable to change the properties of the columns. Why is it like this?

    2. is it possible to rearrange the columns in a column Chooser? I want to sort the values alphabetically. I have to add the values in the column selector, the way that I want it to appear in the menu drop-down or is there any method by which I can sort the values after adding them to the colum selector?

    Appreciate any help.

    Thank you and best regards,
    RG

    Hello Rahul,

    I encountered this problem in 11.1.1.5 version. This is the bug,

    Bug 12937182 : AFTER upgrade, the PROPERTIES of the COLUMNS do NOT WORK IN the COLUMN SELECTOR

    SIAS Oracle, this problem has been fixed in 11.1.1.6, it seems that there is always.

    Yes to the second query, it has no option to sort otherwise that manually to remove the columns.

    Kind regards
    DpKa

  • Create the table column

    Hi all.

    Today, I'm doing a 'table' in a column. The information I use looks like:

    AAA-B-CCC | DDD-E-FFF | GGG-H-III | JJJ - K

    I need my table these columns:

    Column1 Column2 Column3
    AAA B CCC
    DDD FFF E
    GGG H III
    JJJ K

    So I started to divide the string into smaller pieces:
    SELECT LEVEL reg, 
    REGEXP_SUBSTR('AAA-B-CCC|DDD-E-FFF|GGG-H-III|JJJ-K','[^|]+', 1, LEVEL) ferroc
    FROM DUAL
    CONNECT BY LEVEL <= LENGTH('AAA-B-CCC|DDD-E-FFF|GGG-H-III|JJJ-K') - LENGTH(REPLACE('AAA-B-CCC|DDD-E-FFF|GGG-H-III|JJJ–K','|')) + 1; 
    What I get is:

    >
    Ferroc REG
    1 AAA-B-CCC
    2 DDD-E-FFF
    GGG-H-III 3
    4 JJJ - K
    >

    After this step I am lost, I try to do almost the same as in the first query, but information mi mingle and I don't have any other ideas.

    Thanks for your time.
    Kind regards.

    So, how is it?
    (I put in a bit more data to test).

       WITH
         sample_data  as
           ( select   1 as id, 'AAA-B-CCC|DDD-E-FFF|GGG-H-III|JJJ-K'  as str   from dual  union
             select   2      , 'mmm-n-ooo|ppp-q-rrr'                           from dual
           )
       , step1  as
           (    select  id
                     ,  level  as seq
                     ,  regexp_substr( str, '\|?([^\|]*)', 1, level, 'i', 1 )  as elmnt
                  from  sample_data
                        CONNECT BY
                          ( regexp_count(str,'\|')+1 >= level     and
                            prior id = id                         and
                            prior dbms_random.value is not null
                          )
           )
       select  regexp_substr( elmnt, '-?([^-]*)', 1, 1, 'i', 1)  as col1
            ,  regexp_substr( elmnt, '-?([^-]*)', 1, 2, 'i', 1)  as col2
            ,  regexp_substr( elmnt, '-?([^-]*)', 1, 3, 'i', 1)  as col3
         from  step1
       ;
    
  • read the perticular column of xls file.

    Hello

    I have a data file in which I want to read column (c) 3rd and draw it over time.

    Please help set out

    Thank you

    Hi kabariya,

    your attachment is actually a CSV file so all you have to do is to Rename , it...

  • Create the row column in PL/SQL

    I ask as below:

    SELECT THE RCTV. BATCH_SOURCE_ID, RCTL. DESCRIPTION, RCTL. QUANTITY_INVOICED,

    RCTL. UNIT_SELLING_PRICE + NVL (RCTL. TAX_RECOVERABLE, 0) AS PRICE_UNIT

    OF RCTV, RCTL RA_CUSTOMER_TRX_LINES_ALL RA_CUSTOMER_TRX_PARTIAL_V

    WHERE RCTV. CUSTOMER_TRX_ID = RCTL. CUSTOMER_TRX_ID

    AND RCTV. TRX_NUMBER = '100'

    AND RCTL. LINE_TYPE = 'LINE '.

    AND RCTV. BATCH_SOURCE_ID = 6077

    Result:

    8-17-2015 12-27-59 PM.jpg

    My question, can I get result like the image below.

    as.jpg

    Only for Description DOC FEES and STAMP DUTY.

    Please help me...

    Thank you all...

    Change the order where you want to place the DOC_FEE and the STAMP_DUTY I see no specific reason, why you have put at the forefront

    SQL> with t(batch_source_id,description,quantity_invoiced,price_unit) as (select 6077,'20FG/COC/LADEN/FOFO',2,3500000 from dual union all
      2                  select 6077,'40FG/COC/LADEN/FOFO',4,66500000 from dual union all
      3                  select 6077,'40HC/COC/LADEN/FOFO',3,66500000 from dual union all
      4                  select 6077,'DOC_FEE',1,150000 from dual union all
      5                  select 6077,'STAMP DUTY',1,6000 from dual)
      6  ,q as (select batch_source_id,description,quantity_invoiced,price_unit
      7              ,max(case when description='DOC_FEE'
      8                      then price_unit
      9                      else 0
     10               end) over(partition by batch_source_id ) as doc_fee
     11               ,max(case when description='STAMP DUTY'
     12                      then price_unit
     13                      else 0
     14               end) over(partition by batch_source_id ) as stamp_duty
     15    from t)
     16  select batch_source_id,description,quantity_invoiced,price_unit
     17             ,case when row_number() over(partition by batch_source_id order by quantity_invoiced desc) =1
     18             then doc_fee
     19             else 0
     20             end as doc_fee
     21             ,case when row_number() over(partition by batch_source_id order by quantity_invoiced desc) =1
     22             then stamp_duty
     23             else 0
     24             end  as stamp_duty
     25   from q
     26   where description not in ('STAMP DUTY','DOC_FEE')
     27  /
    
    BATCH_SOURCE_ID DESCRIPTION         QUANTITY_INVOICED PRICE_UNIT    DOC_FEE STAMP_DUTY
    --------------- ------------------- ----------------- ---------- ---------- ----------
               6077 40FG/COC/LADEN/FOFO                 4   66500000     150000       6000
               6077 40HC/COC/LADEN/FOFO                 3   66500000          0          0
               6077 20FG/COC/LADEN/FOFO                 2    3500000          0          0
    
    SQL>
    
  • How an apex_item.display_and_save total column

    I created a tabular presentation dynamically using apex_item.text. My query includes three columns; cash, cheque and credit. My last column in the query is a total column of cash, check and credit added together gives me the total for that line. My request;
    Apex_item.display_and_save(10,id) SELECT id,
    apex_item.display_and_save(11,transaction_date) transaction_date.
    apex_item. Silver Text(12,cash_amt,15,15),
    check the apex_item. Text(13,check_amt,15,15),
    apex_item. Text(14,credit_amt,15,15) credit,
    apex_item.display_and_save (15,
    (cash1_amt + cash2_amt + check_amt + credit_amt)) total
    Deposits

    In the form, if I change one of the amounts, is it possible to update the total column without having to submit the page (javascript maybe)?
    I don't know how to reference apex_application.g_fxx (i) in javascript, if that's even possible.

    Concerning
    Mark

    You are welcome!

    Thank you
    -Matt

  • Creating a dummy column

    I try to use "combine with a similar request" option allows to combine two diff of his reports. But impossible to create the dummy column.

    Could be he you pls let me know how to create it?

    Hi tintin.

    Yes, it works for all types of data. Or shoot a column that fits this Union application of the same data type.
    Shoot a column of answers and f (x) remove the definition and puts a zero and you could rename it.

    hope replied.

    See you soon,.
    KK

  • How to avoid the total general of the classic report when the column break is installed in the Apex

    Hi all

    I develop application using Oracle Apex 4.2.0.

    I created the classic report Page.

    That I have summarized a column by selecting the check box check sum for the column.

    His shows the Grand Total.

    Then I chose the columns to break to the first column.

    His show the total groupwise and total as well as great as image below.

    dc.jpg

    My requirement is

    Need to hide total(Total:)) GroupWise or total general. I need to show any a total, not both.

    How to do this?

    Thank you

    Su.GI

    Su.GI wrote:

    Hi, thanks for your response.

    I use theme - productivity Application - issue 26

    -Standard model

    Report - report of Standart for classic report model.

    The above CSS code where I want to use in the page or report or model region.

    Specify a static region ID for the report area and put the following CSS rule in the CSS Inline property page:

    #static-region-id .uReportStandard tr:last-child td {
      display: none;
    }
    

    where static-region-id is the ID specified for the region.

  • help create dynamic measures to calculate the total amount in the form of tabluar

    Hello world

    We using apex 4.2 and start re-writing some existing applications originally designed in 3.0.   I was wondering if someone could help me with the following scenario.

    I have a tabular presentation several recording based on a collection called "species_collection".  The form allows fisherman to create an electronic ticket which contains one species, quantity, price, total of the amounts and other descriptive information on the species.  I created a dynamic action (with lots of help from this forum) to automatically update the collection when a field is changed.

    I am now in the hope of creating a dynamic action that will automatically do the following:

    • When the quantity is changed, recalculate the total of the amounts as quantity * price
    • When the price is changed, recalculate the total of the amounts as quantity * price
    • When dollars changed, recalculate the $ amount/total price.
    • When the total amount is changed, recalculate the OVERALL TOTAL

    Currently, I use embedded calls to javascript and then to application processes... but they are difficult to debug, and it seems that dynamic action could be cleaner and simpler.

    the current request is (I've included the concerned fields because it is an important application):

    SELECT
    apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
    seq_id,
    seq_id display_seq_id,
    .....
    apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
     
    apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
    
    apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
    ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars
     ......
    from apex_collections
     where collection_name = 'SPECIES_COLLECTION' order by seq_id 
    

    each field, QUANTITY, PRICE, $ has an ONCHANGE that then call the application processes that update the collection.

    <script language="JavaScript1.1" type="text/javascript">
    
    function setTotal(row)
    {
       //quantity was entered into form, get values
       var price = $x('f11_'+row);
       var total = $x('f12_'+row);
       var quantity = $x('f10_'+row);
       var nquantity = parseFloat(quantity.value);
       var ntotal;
       var nprice;
       nquantity = nquantity.toFixed(3);
       quantity.value = nquantity;
       //if quantity and price both have values calculate total and save
       if(quantity.value > 0 && price.value > 0)
       {
          ntotal = quantity.value * price.value;
          total.value = ntotal.toFixed(2);
       }
       else
       {
             //if quantity and total both have values calculate price and save
          if(quantity.value > 0 && total.value > 0)
          {
             nprice = total.value/quantity.value;
             price.value = nprice.toFixed(6);
             //check to see if the price entered falls within min/max for that species
             var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=PriceBoard',0);
             get.add('SPECIESPRICE',price.value);
             get.add('SEQUENCEID',row);
             gReturn = get.get();
             if ((gReturn == 'Price entered is too high') || (gReturn == 'Price entered is too low')){alert(gReturn);}
          }
          else  if (quantity.value > 0)
                   total.value = '';
                else
                { 
                     total.value = '';
                     quantity.value = '';
                }
       }
      //saveQPD(row);
       setOverallTotal(); 
    }
    function setOverallTotal()
    {
       var total = 0;
       var nTotal;
       for(i=1;i<=rowCount;i++)
       {
          if(parseFloat($x('f12_'+i).value) > 0)
          {
             total = total + parseFloat($x('f12_'+i).value);
          }
       }
       ntotal = total.toFixed(2);
       document.getElementById("P110_TOTAL").value = ntotal;
       var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=nullProcess',0);
       get.add('P110_TOTAL',ntotal);
       gReturn = get.get();
    }
    function getPriceBoundaries(row) 
    {
       //price was entered into form get all values
       var quantity = $x('f10_'+row);
       var price = $x('f11_'+row);
       var total = $x('f12_'+row);
       var ntotal;
       var nquantity;
       var nprice = parseFloat(price.value);
       nprice = nprice.toFixed(6);
       price.value = nprice;
       //check to see if the price entered falls within min/max for that species
       var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=PriceBoard',0);
       get.add('SPECIESPRICE',price.value);
       get.add('SEQUENCEID',row);
       gReturn = get.get();
       if ((gReturn == 'Price entered is too high') || (gReturn == 'Price entered is too low')){alert(gReturn);}
       //if quantity and price both have a value calculate the total
       if(quantity.value > 0 && price.value > 0)
       {
          ntotal = quantity.value * price.value;
          total.value = ntotal.toFixed(2);
       }
       else
       {
          //if total and price both have a value calculate the quantity
          if(total.value > 0 && price.value > 0)
          {
             nquantity = total.value/price.value;
             quantity.value = nquantity.toFixed(3);
          }
          else
          {
             if(price.value > 0)
                  total.value = '';
             else
             {
                  total.value = '';
                  price.value = '';
             }
          }
       }
       saveQPD(row);
       setOverallTotal();
    }
    function saveQPD(row)
    {
       var quantity = $x('f10_'+row).value;
       var price = $x('f11_'+row).value;
       var total = $x('f12_'+row).value;
       //save quantity
       var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=setQuantity',0);
       get.add('SETVALUE',quantity);
       get.add('SEQUENCEID',row);
       gReturn = get.get();
    //   alert(gReturn);
       //save price
       get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=setPrice',0);
       get.add('SETVALUE',price);
       get.add('SEQUENCEID',row);
       gReturn = get.get();
    //   alert(gReturn);
       //save total
       var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=setTotal',0);
       get.add('SETVALUE',total);
       get.add('SEQUENCEID',row);
       gReturn = get.get();
    //   alert(gReturn);
       
    }
    function changePrice(row)
    {
       //total was entered get all rows
       var quantity = $x('f10_'+row);
       var price = $x('f11_'+row);
       var total = $x('f12_'+row);  
       var ntotal = parseFloat(total.value);   
       var nprice;
       var nquantity;
       ntotal = ntotal.toFixed(2);
       total.value = ntotal;
       //if quantity and total were entered calculate price.
       if (quantity.value > 0 && total.value > 0)
       {
          nprice = total.value / quantity.value; 
          price.value = nprice.toFixed(6); 
          var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=PriceBoard',0);
          get.add('SPECIESPRICE',price.value);
          get.add('SEQUENCEID',row);
          gReturn = get.get();
             if ((gReturn == 'Price entered is too high') || (gReturn == 'Price entered is too low')){alert(gReturn);} 
       }
       //if price and total were entered calculate quantity.
       if (price.value > 0 && total.value > 0)
       {
          nquantity = total.value / price.value;  
          quantity.value = nquantity.toFixed(3);
       }
       if (price.value > 0 && quantity.value > 0)
       {
           ntotal = quantity.value * price.value;
           total.value = ntotal.toFixed(2);
       }
     
           
       saveQPD(row);
       setOverallTotal();        
    }
    
    function selectDollarsFocus(pRow,event)
    {
        tabPress = 0;
        KeyCheck(event);
        if($x('f11_'+ pRow))
        {
                if(KeyID == 9)
                {
                    $x('f14_'+ pRow).focus();
                    onFocusAreaFished(pRow);
                    tabPress = 1;
                }
        }
        else
        {
            if($x('f18_'+ pRow))
            {
                    if(KeyID == 9)
                    {
                        $x('f18_'+ pRow).focus();
                        tabPress = 1;
                    }
            }
            else
            {
                if(--pRow <= rowCount)
                    if(KeyID == 9)
                    {
                        $x('f08_'+ pRow).focus();
                        tabPress = 1;
                    }
            }
            
        }
    }
    
    
    
    </script>
    

    I'm not very familiar with javascript... but looks like there must be a simpler way.   Any thoughts on how I could address the issue?   Thank you!

    I have it.  trial and error.

    the DYNAMICS of the evolution of prices and the $ action are now two separate dynamic actions.

    Action DYNAMICS to update the column from the collection is now last... and it seems that everything works... until I have change something again.

    Thanks again for your help.

    Karen

  • Any method to create a total SUM of a column whose values based on LAG?

    I have a question here, and the challenge is to explain my situation well. I am developing a workbook that shows by project and month, the cost of this period and the change in the cost of the previous period. I want a total SUM on the columns of this period cost and cost change in prerequisite Mth. So what I want to do resembles something like this--

    Months of project cost this time Chg prior Mth cost

    ABCDE Jan $50,000 NULL (since no line before)
    ABCDE February $ $75,000 25 000
    Mar $60,000 ABCDE - 15 000
    ------------------------ ----------------------------------------------
    Total of $ $185,000 10 000

    I do the Chg of cost of prior Mth as a new calculation and use the formula insert model process to use the model of the difference f (x) to create my calculation. Who is working just great. If you look at the underlying code for this new section, you can see the LAG function used in the calculation of this value. I'm late to a single line, as you can see in the example above.

    I can create a new total and take a NAP in the cost column this time and get the right answer (the $185 000).

    The problem that I am running is that I get nothing when I try to summarize my prior Mth column cost Chg. The result is just empty (prints the text of the total, but no amount).

    My thought is that the NULL row in this column was to spoil the AMOUNT of work. So, I created a new calculation and said CASES WHERE prior cost Chg of Mth IS NULL THEN 0.00 ELSE cost Chg of Mth prior. So I get a new column with the same numbers, except for the first line, where I now have a 0 instead of NULL. Then, I created a new total (SUM function) on this new column. Heck. Same result with regard to the other column. I do not receive an amount.

    Everybody run on an issue to try to sum a column of numbers being calculated from a SHIFT function in discoverer? Any suggestions on how I could get a SUM to calculate correctly to this column cost Chg prior Mth? Or have I met one of those irritating questions "cannot manage in discoverer?

    Of course I can export the workbook results run to Excel and create the calculation in there, and that works fine.

    John Dickey

    Hi John
    Thanks for the question and great information. That really helped. I love this kind of questions. They make me think :-)

    Just a thought but have you tried to change the AMOUNT for a sum of CELL?

    The SUM will try to assess the LAG on the total that would be invalid as, at least in theory, the SUM of the CELL must literally add the values.

    Best wishes
    Michael

  • Sort by clicking the column of heade with LIFO

    Hello!

    I want to sort by the last entry is first (LIFO) in my report.
    To do this, I have to check United Nations ensure:
    Home > Application Builder > Application * > Page 1 > report attributes
    * (otherwise APEX indicates: "your query cannot include an"ORDER BY"clause when having the position active sort column".) *.


    When I followed the suggestion of APEX, my lost feature of report to sort by clicking the column header.
    I still want to keep sorting capacity on just any column by clicking the column header.


    Thanks in advance,

    Sam

    Sam:

    You want to create a process of type "Session State", then select 'Preferences to reset (delete all preferences the current user)' as the Type of State of Session process.
    This process subordinate to your button "Reset".

    CITY

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

Maybe you are looking for

  • IPhone locked

    HI, I have a question, I bought my new 6s of Iphone on the black market, but I can't open it, it says that I must write in icloud because it is locked before. I entered my address itunes but it doesn't work. I need help because I dreamed so that phon

  • YouTube is slowing down my computer! Any suggestions?

    Hello dear friends, I have a good MacBook Pro 2013 retina with i7 and SSD. I have noticed occasionally when I Watch youtube videos and try to make comments, while I type it needs some time to let the letters appear. Is like takes me a lot of energy a

  • Satellite 5100 603: where to find a new graphics card?

    Hello I am currently the owner of a Toshiba Satellite 5100 603. The problem is the video card. But I can't find a new or second hand video card for this laptop anywhere. Anyone has suggestions where to look for this card or maybe has a replacement pa

  • my screen resolution won, t change. _

    the only option is to 640 x 480

  • can I combine flv files using vlc

    Can I combine a few .flv using vlc player? If so would like to know the steps.