Report - Style totals

hi
can any tell , how to color the report total row in a report

Hi,
In your report region's Region Footer, add in something like:
<script type="text/javascript">
var outertable = document.getElementById("report_#REGION_ID#");
var innertable = outertable.getElementsByTagName("TABLE")[0];
var rs = innertable.rows;
var lastrow = rs[rs.length-1];
alert(lastrow.cells[0].innerHTML);
if (lastrow.cells[0].innerHTML == '<b>TOTAL</b>')
rs[rs.length - 1].style.backgroundColor = "red";
</script>This will turn the last line red but only if the first cell in that row contains <b>TOTAL</b> (change the narrative if needed but leave the B tags as these are automatically added for total rows)
Andy

Similar Messages

  • Help me in  'AR Details ' report shows total open invoices by customer

    hi friends,
    please  help me in  'AR Details ' report shows total open invoices by customer and PO number over selected time range.
    any thing related to open invoices please send me as early as possible.
    Thanks,
    Regards,
    Yogesh

    Hi,
    Find the T.code VF05. You will get the list of open billing docs. Its SIS report. Please find whether the SIS is active or not in your system
    Regards,

  • Report of Total GR qty/IR qty,date when last GR was passed (latest one)

    Dear all
           Kindly let me know how to get the below report using input of PO no:
    Report of Total GR qty,IR qty,date when last GR was passed (latest one),date when last IR was passed (latest one)
    Standard t.code such as ME2n.me2l is not giving the above report.

    Dear
    Try ME80FN and ME2N/L with the setting with Selection Parameters
    regds
    dev...!

  • How to diable the default option of report-based total (when applicable)

    Hi,
    Anybody know how to diable the default option of report-based total (when applicable)?
    By default this aggregation rule option is checked.
    There should be some configuration tag in instanceconfig.xml or somewhere else, such as <ReportAggregateEnabled>true</ReportAggregateEnabled>?
    Regards,
    Tina

    you can change this from admin tool,
    open admin tool,
    business model and mapping
    find your column in the model
    double click your column, click on aggregation, >> default rule >> none.
    but if you do this, you cant make any sum operation.

  • In OBIEE Report Grand Total instead of Average(Average)  use Sum(Avg)?

    Hi All,
    In OBIEE Report Grand Total average always shows Average of average (Default) "avg(avg)" , can i overwrite this functionality to sum of average "sum(avg)".
    Thanks in advance
    Regards
    Kandasamy

    Hello,
    You can try the following:
    Remove the calculate result as setting for the three KFs.
    In exception aggregation set property to average with ref char as leave start date.
    Check if it works.
    If the above dosent work, set reference char to emplyee ID and check.
    Either one of them has to work
    REgards,
    Shashank
    Edited by: Shashank Dighe on Apr 2, 2009 9:03 AM

  • Report of total invoice per area

    Dear Experts,
    I am trying to make a report using query generator. The report is total invoice per area but I am still failed. here is the query I made:
    elect distinct OTER.descript,
    'invoice per teritory' = (select distinct sum(a.DocTotal) from oinv a inner join ocrd b on b.cardcode = a.CardCode where a.CardCode = OINV.CardCode and b.County = OCRD.County group by b.County) from INV1 inner join OINV on OINV.DocEntry =
    INV1.DocEntry
    INNER JOIN OCRD on OCRD.CardCode=OINV.CardCode
         LEFT JOIN OTER on OTER.territryID=OCRD.Territory
    where OINV.DocDate between '01/01/2010' and '01/28/2010'
    The result is as follows:
    Area A     47533700.000222
    Area A     53663149.964662
    Area B     772500.000010
    Area B     6705000.000072
    Area C     7890000.901213
    It is not expected.
    I am using query generator is :
    Area A     101196850
    Area B     7477500
    Area C     7890000.901213
    but my query still give unexpected result. Please advice. Thanks a lot.
    steve

    Thx Gordon.
    This thread is closed. I also find out the answer i.e.
    select distinct OTER.descript,
    'invoice per teritory' = (select distinct sum(a.DocTotal) from oinv a inner join OCRD b on b.CardCode = a.CardCode where
    b.Territory = OTER.territryID  group by b.Territory) from OINV
    INNER JOIN OCRD on OCRD.CardCode=OINV.CardCode
         LEFT JOIN OTER on OTER.territryID=OCRD.Territory
    where OINV.DocDate between '01/01/2010' and '01/28/2010'
    group by OTER.descript, OTER.territryID
    The result is similar with your query result.
    Steve.

  • Sub-Report Running Total

    Post Author: Set_Shot_Dave
    CA Forum: General
    Hello All,
    Let me set up my problem first.
    I have a running total from a subreport and a running total from my main report.
    I shared my running total from both reports ( it didn't work when I did or didn't).
    when I do my calculation I get a boolean true as my answer.
    By the way my running total from my main report is controled by a formula.
    In subreport I did the following;
    Called the formula share1
    shared numbervar Cong1;
    cong1 = sub-report-running total
    in main report i did the follwing
    called the formula share2
    shared numbervar Cong2;
    Cong2 = main-report-running total
    Still in main report
    I create a a field called Calcuation
    shared numbervar Cong1
    shared numbervar Cong2
    numbervar calculation
    calculation = Cong1 / Cong2
    I get a boolean True

    Post Author: Set_Shot_Dave
    CA Forum: General
    I brought in the shared variable into the report on its own.
    No calculation just a formula field as followed
    @calculation
    shared numbervar share1;
    numbervar calculation;
    calculation:= share1
    I get  0.00
    The fields are in the report footer of the main report and report footer of the sub-report is there a problem with this
    the

  • Report Based Total - when??

    Hi,
    sometimes I get the issue that when I put totals on groups in reports they are only correct when I have un-ticked 'report based total', but at other times, sometimes with the same source, it works fine....
    I have trawled the site on advice around report based totals, but can anyone give me a definitive rule for when 'report based total' will definitely work, and when it will definitely not work, and if there are any areas of grey between these where the 'safer' option is to un-tick report based total.
    My reason for the request is that I am putting together an answers guide which includes specific advice on our repository, and I would like to be able to give the advice, against each business area of whether to use 'rbt' or not.
    Finally am I correct that the only benefit to using report based total is one of speed?
    My version is 10.1.3.4
    Many thanks,
    Robert.

    Hi,
    This will be used for "Oracle BI Server will calculate the total based on the entire result set, before applying any filters to the measure columns".
    Refer:
    http://docs.oracle.com/cd/E14571_01/bi.1111/e10544/creatingviews.htm
    http://gerardnico.com/wiki/dat/obiee/11g
    http://gerardnico.com/wiki/dat/obiee/answer
    Thanks
    Deva
    Edited by: Devarasu on Dec 20, 2011 5:29 PM

  • Report Sub Total

    Hello all,
    I need your help again:
    I have a report as listed below. I have a 'After' total flag set on DESCRIPTION column. For some unknown reason
    Actual Total per EACH DESCRIPTION calculated correctly, whereas Budget carries over the total of the first row???
    Any ideas why? Thank you all in advance. Sonya
    REPORT_DEPT DESCRIPTION Actual Budget
    ENGINEERING 6040-Agency Approval $100 $200
    6040-Agency Approval $100 $200
              6050-Air Travel $50 $700
    6050-Air Travel Total $50 $200
    6060-Car Travel $20 $300
    6060-Car Travel Total $20 $200

    please check fx of budgets column and set aggregate to sum.
    (or) check with enabling report based total below after.

  • Report - Style Problem

    Hello Guys,
    First of all, am in the process of learning cold-fusion coding.
    I have a doubt in reporting part of coldfusion code.
    I need to make a report style such as below
    A
    B
    C
    Pass
    x
    B
    x
    Fail
    A
    x
    C
    Pass
    A
    x
    x
    Pass
    Presently am able to get display data table like below:
    A
    B
    C
    Pass
    B
    Fail
    A
    C
    Pass
    A
    Pass
    here A,B,C are feed group;
    My coding specific to looping is below:
    <cfoutput query="PromotionInfo" group= RID> <tr>
    <cfoutput group="feed_group">
                   <cfif IsSimpleValue(Feed_Group) >
                              <td  nowrap><a href="#PromotionInfo.Report#" target="_blank">#PromotionInfo.feed_group#</a></td>
                        <cfelse>
                              <td><strong>N/A</strong></td>
                    </cfif>    
      </cfoutput>
    I tried for looping, still no sucess so far..
    Note: Problem here in looping is When I tried cfif/Cfloop condition's for every column-wise data,
    cfoutput for  PromotionInfo.feed_group gives ABC (joined values) not separately ie. for each cycle of loop the data queried are shown in one single row. Am not able to split it since they are not having any delimiters.
    Am not sure I gave the right picture of my problem, still expecting someone can help me..
    Thanks
    Keeran

    hi,
    i've tried to correct your code:
    -> v_year, v_low and v_high was not filled
    ...SELECTION-SCREEN : END OF BLOCK b_fa.
    PARAMETERS p_year LIKE anlc-gjahr DEFAULT sy-datum(4).
    *PARAMETERS : budat LIKE anek-budat.
    SET PF-STATUS '100'.
    v_year = p_year.
    v_year = v_year - 1.
    CONCATENATE v_year '0401' INTO v_low.
    CLEAR v_year.
    v_year = p_year.
    CONCATENATE v_year '0331' INTO v_high.
    SELECT bukrs anln1 anln2 aktiv txt50 zugdt menge meins anlkl
    FROM anla
    pls reward useful answers
    thx.
    Andreas

  • POS system reports daily totals for each store, not for each cashier

    Hi!
    We are implementing SAP Retail (ERP 6.0 EHP4 stack 3), SAP PI (Netweaver PI 7.1 SP 8) and SAP BW (NetWeaver 7.0 ehp1 stack 4, incl BI content 704, SP 3 ) for a client. Their POS system is a 3rd party system, i.e. not SAP POS.
    This issue concerns the fact that the POS system reports daily totals for each store, not for each cashier.
    At my client, the daily settlements are done for each cashier. At the end of day, we will get cash drawers counted with sum of each tender (cash and checks) at the end of day. In addition, the POS system will send sum of each tender, sum of all sales and sum of different finance transactions made each day. However, this u201Ctotals messageu201D is not sent separately for each workstation, or for each cashier, but rather for each store. So we only gets the totals per store.
    Questions:
    i)     Are the tasks available for comparing totals to the aggregates for POS transaction able to handle u201Cstore-only figuresu201D?
    ii)     If not, how can we adapt the tasks so they can handle u201Cstore-only figuresu201D?
    iii)     Can we trigger outbound tasks sending WPUUMS and WPUTAB using outbound dispatcher automatically, or must we run this as a manual task of an employee, after checking that all stores have delivered their totals?
    iv)     The u201Cstore-only figuresu201D does not include cashier statistics. Do we need the u201Ccashier statisticsu201D as total figures, or can we just populate the BAPI for each POS transaction with data, in order to populate BW infocubes for cashier statistics?
    Thanks for any advice !
    Best regards,
    Oeystein Emhjellen

    Hi Kees ...
    Your profile indicates you are running Leopard v10.5.8
    You need to upgrade to Snow Leopard V10.6 in order to use the App Store. This is an "upgrade", not an "update".
    Make sure your Mac meets Snow Leopard's requirements here.
    You must have the minimum of v10.6.6 installed in order to access the App Store.
    You can purchase Snow Leopard here > Mac OS X 10.6 Snow Leopard - Apple Store

  • Interactive Report Sub-total and total

    Hi friends,
    I have an employee interactive report with group by job name and also showing the salary sub-total for each and every job(group by).
    I have an requirement like to highlight the sub-total for each and every job with a background color so that the user can identify the sub-total with the color, and also whether it is possible to display an overall total @ last in the report with a label named "Total Salary" in which it calculates the overall salary is also to be highlightened with the background color.
    Also is it possible to display a text "Sub-total" besides each and every salary sub-total  of job(group by). Currently if we display a sum for the salary then im getting the total's but with out a text named total.
    Since i can see the highlighted feature in interactive report but im not sure how to apply it for the sub-total and total column.
    I have reproduced the example in apex.oracle.com
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    In the application 9494 named "test" in page1.
    Thanks in advance.
    Brgds,
    Mini

    Hi, Mini,
    style=background-color:red;
    But that Total region color dint change.The code for style should be in "Form HTML Element Attributes". However, this changes the background color only for the Total value not for the whole row.
    If you want to change for the whole row, you need to change the template that is selected for the region.
    I changed the region template in your application to "Borderless Region" and made the changes to the "Borderless Region" template, it now shows the background color for Total Value.
    <table class="t20Region t20Borderless #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" border="0" cellpadding="0" cellspacing="0" summary="" #REGION_ATTRIBUTES#>
    <thead><tr><th class="t20RegionHeader" id="#REGION_STATIC_ID#_header">#TITLE#</th></tr></thead>
    <tbody id="#REGION_STATIC_ID#_body">
    <tr><td class="t20ButtonHolder">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</td></tr>
    <tr><td class="t20RegionBody" style="background-color:orange">#BODY#</td></tr>
    </tbody>
    </table>The below does the trick. :)
    <tr><td class="t20RegionBody" style="background-color:orange">#BODY#</td></tr>Note: I made the changes to "Borderless Template", but you can copy the template to your own and apply this change.
    Regards,
    Natarajan

  • Discoverer Report Row Total

    We are running Oracle BI Discoverer Viewer version 11.1.1.4.0. When we upgraded to this version we lost some functionality. In the previous version the report displayed the number of rows the query returned. Now the row totals display only under certain conditions. For instance, I have a inventory report name INV-REP-120 and it prompts the user for 6 parameters & displays 6 columns of data. One of the parameters is named ‘Keyword' and I’ll use this one in the problem description. When I set the keyword parameter to ‘HINGE’ The bar at the top of the results sheet it displays:
    ‘Rows 1-25 of 81, Columns 1-6 of 9’
    When I change the keyword to ‘TUBE’ the viewer displays:
    ‘Rows 1-25, Columns 1-6 of 9’
    The total rows are not displayed but the number of pages. It appears that if the total number of rows is less than 200 then the row total is displayed. I changed the rows displayed from 25 to 100 and scrolled down to the last page and now the reports displays:
    ‘451 – 458 of 458, Columns 1-6 of 9’
    When I use the key word TEE I get :
    ‘Rows 1-50, Columns 1-6 of 9’
    There are 596 tees, which would be about 12 pages of 50 rows. I noticed that at the top of table there is a field ‘Page 1 of 5.’ It looks like if there are more than 5 pages it does not display the total number of rows.
    There seems to be some interaction between the total number of rows the number of rows per page and perhaps a setup on the back-end that determines whether or not the row total is displayed. How can I configure the viewer at the front-end and/or back-end to consistently display the row total for a report? Is there a Discoverer preference located in the pref.txt in the apps server that controls this?

    Hi,
    You can inform to your SP to edit the table EUL4_documents
    and ask him to modify the name of the report that is stored in the column DOC_NAME .There is absolutely no necessary to open the work book that is stored in the database and change the work book name
    Regards
    Swamy!

  • SSRS 2008 R2 Report - Sum Totals of a Filtered Group

    I'm at a loss here, so any help will me much appreciated. I will do my best to explain, but if you need additional information, please let me know:
    I have a very large dataset of patient data. Specifically for the numbers I need, I have a patient number field, a county field, a 1 or 0 for LastYear field, and a 1 or 0 for CurrentYear field.
    Example:
    PtNo    County  PY  CY
    45676  Scott     0    1
    45322  Cape     1     0
    47686  North     0     1
    The thing I am shooting for on my report is, "Volume growth in 3 counties (+20 cases)."
    I created a group and grouped by County (group name County) and I included a group filter to only include "total cases of CY" are greater than "total cases of PY" to narrow my data to only counties that had a higher current year sum
    than previous year sum.
    Example:
    County  PY    CY  Difference
    Scott    141  143     2
    Cape     90    98      8
    North    78     88    10 
    All is working well, except I don't need to see the Counties themselves, I just need the 3 counties and a difference of 20. 
    I explored online and found tutorials that said to right click on the field and select "Add Total" but this total did not have my filter in it and gave me everyone. I also tried adding a row outside the group and used the RunningValue function
    (i.e. RunningValue(Fields!FYTD_Current_Year.Value, Sum, "County"))  but it gave me a message that states "The Value expression for the text box 'Textbox456' has a scope parameter that is not valid for an aggregate function. The scope
    parameter must be set to a string constant that is equal to either the name of a containing data region or the name of a dataset."
    When I move the row with the RunningValue function inside the group, it runs but I get the same information repeated twice for each county with no final total.
    So I am not sure how to go about getting my values I need for my report. Anybody know how to resolve this?
    Thanks,
    Cyndi
    cpemtp1

    Hi Cyndi,
    Based on my understanding, you specify a filter condition in group properties. Then you want to sum the filtered values for each field.
    In this scenario, we need to specify a filter condition on group level. If we use sum() function out of group, the expression will calculate the total values on dataset level instead of group level. So we can’t simply use expression to achieve this goal.
    However, we can use custom code to record the filtered values for each field, then we can calculate the total based on these values. Please refer to the steps and screenshots below:
    1. Add the custom code below into the report:
    Public Shared Value1 as Integer=0
    Public Shared Function GetValue1(Item as Integer) as Integer
    value1= value1 + Item
    return Item
    End Function
    Public Shared Function GetTotal1()
    return value1
    End Function
    Public Shared Value2 as Integer=0
    Public Shared Function GetValue2(Item as Integer) as Integer
    value2= value2 + Item
    return Item
    End Function
    Public Shared Function GetTotal2()
    return value2
    End Function
    2. Design the tablix like below:
    3. The result looks like below:
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Analysis report with totals on specific columns

    I have an analysis report that I need to create totals on specific columns. If I turn on "Grand Totals" from the "Edit View: Table" section, all of the numeric columns will display grand totals. This is a nice automatic feature, but I only need totals of specific columns. Not all numeric columns need totals nor do Grand Totals of some columns make any sense.
    For example, to display opportunity details, we will have on the report:
    Opportunity Name, Item number, Item Description, Quantity, Price, Extended Price
    Since the opportunity may have multiple items on it, having a grand total of quantity and unit price makes no sense. All we need is Grand Total of the opportunity extended price.
    Is there a way to selectively turn on/off column totals or is it an all or nothing option?
    Thanks in advance.
    Edited by: nsidev on Sep 1, 2009 10:10 AM

    Actually, i just solved the problem.
    Here is what I did:
    1. I added a column to the "Design Criteria" section (step 1). To keep the units consistant, I made sure that the data element was suitable for the value (I used a currency element). Ensure you note the position of the new column, mine was in position 11.
    2. Under the newly added elements "Column Properties", I set it to HIDDEN and changed the name to "Grand Total"
    3. Under the "Edit Formula", I changed the formula to be: SUM(<numeric column>)
    4. In "Create Layout" (Step 2), I added a narrative view to the bottom of the page.
    5. In the "Edit Narrative View", I set the appropriate formatting and added the following: Total Extended Price: @11
    6. Ensure that "Rows to display" is set to 1.
    Save and run
    All done, works like a charm.

Maybe you are looking for

  • Remote for iTunes in a Two-PC Network

    I've added the "Remote for iTunes" app to my new Android-based phone; but, it's iTunes on my wife's PC that recognizes the application rather than mine. Home sharing is turned on. Windows 7 on both laptops. Suggestions as to how to go about changing

  • Help!  looking for internet camera compatible with Mac

    I need help! I purchased a Mac recently and so far I am very happy with it. However, we just had a baby and I'd like to see and hear my baby from my computer at work. At work we use PCs and at home we havea iBook G4. I bought a D-link wireless G inte

  • ITunes marks part-played podcasts as played!!

    I just got a 5th gen iPod and while the new feature (for me) of remembering where you left off in a podcast and being able to pick up where you left off it very useful, I've also noticed another, annoying change. I have my iPod preferences set in iTu

  • SSI excise

    Hi Gurus,                   I want to know why SSI indicator is set in vendor master.....how excise duty is calculated...why SAP has given seperate as SSI in J1ID...why cant it be done as regular vendor with tax rate lesser....please clear I am weak

  • Preview crash every time opening file

    I'm using MacBook Air 11" mid-11, OS X Yosemite (14A389) Preview starts crash every time after I opened a broken PDF, include images, pdf, once I click open, it crashed. It's functional before I opened that PDF. I've tried fixing permissions, restore