How to color Grand total column
Hi,
We got one requirement from our customer to show Grand Total column with RED color based on some condition.
Could you please let me know is it possible to make it color. we are using obiee 11.1.1.6.0
Thanks
Anirban
Hi,
Thanks for your reply,
According to the link Below
http://gerardnico.com/wiki/dat/obiee/answer_xml,
We can able to change color for Grand total through XML, but the example is in 10g, there is nothing call saw:totalValues in 11g Currently, may be it is replaced with saw:displayGrandTotal, I tried that option also but it is not working.
Is there anything which we can do through xml, to achieve the above requirement?
Thanks
Anirban
Similar Messages
-
How to Display a Detailed Grand Total Column in Pivot Table
I have a pivot table that looks something like this:
I would like to display the 'Grand Total' column at the end so that it is separated by year, like this:
Is there a pivot table setting that would allow it to display this way? I've searched high and low but haven't found anything. I appreciate any help. Thanks!You can add a calculated item to the pivot table to display grand totals by year:
1. First, turn off grand totals for rows and columns (PIVOTTABLE TOOLS > DESIGN tab > Layout group > Grand Totals > Off for Rows and Columns)
2. Click on the Price List (Invoice) field in the pivot table (hidden above the
Member field?). You must click on the pivot table cell containing the field name for the entries "Member" and "Non-Member".
3. Add the calculated item (PIVOTTABLE TOOLS > ANALYZE tab > Calculations group > Fields, Items & Sets > Calculated item...
4. In the "Name:" box, type: Grand Totals
5. In the "Formula:" box, type: = Member + 'Non-Member'
6. Click the "Add" button, and then click "OK" -
How to get Grand Total Text in ALV GRID
Hi Folks,
I am able to get the SUBTOTAL TEXT .....But i need...
How to get Grand Total Text in ALV GRID Display...
Can any one give a Solution for this...Hi Surendar,
Check out this code.. this is showing Total Text in Toal line in the very first column.
REPORT zsales_ord_det_1 .
TABLES: ztable_10.
TYPE-POOLS: slis.
DATA: BEGIN OF it OCCURS 0,
srno(6) type c,
name LIKE ztable_10-name,
age LIKE ztable_10-age,
END OF it.
DATA : BEGIN OF it_temp OCCURS 0,
name LIKE ztable_10-name,
age LIKE ztable_10-age,
END OF it_temp.
DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat TYPE slis_fieldcat_alv.
DATA: v_repid LIKE sy-repid,
i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
gs_layout TYPE slis_layout_alv,
gd_layout TYPE slis_layout_alv,
i_sort TYPE STANDARD TABLE OF slis_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
START-OF-SELECTION.
v_repid = sy-repid.
SELECT * FROM ztable_10 INTO TABLE it_temp.
LOOP AT it_temp .
it-srno = 'Total'.
it-name = it_temp-name.
it-age = it_temp-age.
APPEND it.
ENDLOOP.
END-OF-SELECTION.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = v_repid
i_internal_tabname = 'IT'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
i_inclname = v_repid
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = i_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
wa_fieldcat-row_pos = 1.
wa_fieldcat-col_pos = 1.
wa_fieldcat-fieldname = 'SRNO'.
wa_fieldcat-tabname = it.
append wa_fieldcat to i_fieldcat.
LOOP AT i_fieldcat INTO wa_fieldcat.
IF wa_fieldcat-fieldname = 'AGE'.
wa_fieldcat-do_sum = 'X'.
MODIFY i_fieldcat FROM wa_fieldcat.
ENDIF.
IF wa_fieldcat-fieldname = 'SRNO'.
Hide this field so that it can display it's content i.e.
Total text in Subtotal level
wa_fieldcat-tech = 'X'.
wa_fieldcat-no_out = 'X'.
MODIFY i_fieldcat FROM wa_fieldcat TRANSPORTING tech no_out.
ENDIF.
ENDLOOP.
wa_sort-spos = 1.
wa_sort-fieldname = 'SRNO'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO i_sort.
gd_layout-no_totalline = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
i_callback_user_command = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
is_layout = gd_layout
it_fieldcat = i_fieldcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
it_sort = i_sort
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it
EXCEPTIONS
program_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
Regards,
Seema -
Matrix row grand total, column grand total
matrix report layout in sql 2008
report shows column a column b column c total
row 1 4 5
8 17
row 2 3 5
2 10
row 3 2 7
6 15
total 9 17
16 grand total column 42
grand total row 42
How do I define the grand total cells to use column totals or row totals? Not just the sum of field in dataset?
Accounting wants justification that column totals add up to row totals.Hi JimHoopsDSC,
Based on my understanding, you want to show grand total columns and grand total rows in the report.
For your requirement, you can create a matrix and add total for row groups and column groups. Then you can add an additional row and populate the total value. Please refer to screenshots below:
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
Rank on column-level Grand total column in pivot table - Need help
Hi ,
I have developed the report, which is having a pivot view. In pivot view i have a column level grand total. I need to apply the rank for the grand total column..
will that be possible.. if possible let me know..
Thanks
KishoreMAY BE IT IS NOT POSSIBLE IN PIVOT VIEW< AS WE DONT HAVE FORMULA EDIT OPTION FOR COLUMNS IN PIVOT VIEW.......
Thanks & Regards
Rushi -
Customizing grand total columns in pivot view
Hi,
I need to customize grand total column name in pivot view
ex: If i have two measure order quantity and order amount when i am selecting aggregation after in column properties it is getting grand total i need to display as grand total for OQ and grand total for OA
Please give suggestions
Thanks,
Kartheek.
Edited by: 998231 on May 26, 2013 11:31 PMHi Kartheek,
In Pivot View, the default Grand Total can not be renamed to have measure specific grand total labe (The one which we specify in the pivot view either by row or column).
But you can try having one seperate measure (in criteria) which will calculate the grand total of each measure by dimensions, which are available on the report.
In sort you can achieve this using table and narrative view together (Not by pivot view).
Expresion to be used for grand total in report criteria is Sum( Measure By Dim1, dim2... DimN)
where Dim1 and dim2 are the dimesional column available on the report and measure is you OQ/OA.
Create a table view as a default view (do not add any report level agg) and then add narrative view to display the Grand total OQ and Grand Total OA. You can add your custom lables with HTML tag, disply the 1st row only as the values will be repeated for grand total.
If you find any other solution do let me know. As of now I can think of this as a best solution.
Regards,
Kashi -
Hi,
Experts,
I am able to get the subtotal text but i am not able to get the grand total text please pass some code or idea on it.
ex:
2510 gopi 10
2511 gopi 20
subtotal 30
2521 anand 20
2522 anand 10
2523 anand 50
subtotal 80
2512 vikram 30
subtotal 30
(blank----) 140.
Here i want to get text as 'COMPANY TOTAL'. by using REUSE_ALV_GRID_DISPLAY FM.
Thanks,
Shabeer ahmed.Hi,
you can get the 'COMPANY TOTAL' by using the following code:
LOOP AT i_main INTO w_main.* Storing the Total text need to be displayed in
ALV
w_final-total = 'COMPANY TOTAL'.
w_final-field1 = w_main-field1.
w_final-field2 = w_main-field2.
w_final-field3 = w_main-field3 .
APPEND w_final TO i_final. ENDLOOP.
Regards,
Santosh -
How to show grand total at bottom in Pivot view?
Hi All,
How to show the report Grand total at bottom in pivot table?Plz help.
Regards,
VaishnaviHi ,
Thanks for the reply but My report structure is like below:
AAA,BBB,CCC,DDD,EEE,FFF,GGG,HHH & III my report columns.I have arranged those columns in measure & i have to calculate the variance against each column like below structure.As per the report here I have lto calculate variance for 4 columns like AAA,BBB,CCC,DDD & after that total of each..then again variance for EEE,FFF & their total.After that i have to show grand total of all from AAAA to FFF likewise for rest of fields.
Measures variance
AAA(db column) 1
BBB(db column) 2
CCC(db column) 3
DDD(db column
Total 6
EEE(db column) 4
FFF(db column) 5
Total 9
Grand Total(AAA TO FFF) 15
GGG(db column) 6
Total 6
Grand Total(AAA TO GGG) 21
III(db column)
Grand Total(AAA TO III)
How to do that?
Regards,
Sonal
Edited by: Sonal on Jan 11, 2012 9:06 AM
Edited by: Sonal on Jan 11, 2012 9:15 AM
Edited by: Sonal on Jan 11, 2012 9:17 AM -
Hi experts,
I have one internal table containing 2 fields quantity and amount.In the output i want to show total quantity and total amount. How can i achive it..?
something like this
qty amt
1 10
2 20
3 30
6 60
reward guaranteed
thanks
Kakihi asit
iam not able to get the totals correctly....can u see this code....every thing is correct except grand totals..
REPORT YVFJAUD_BILLDET no standard page heading
line-size 200
line-count 65
message-id Z1.
*-- Table Declaration
TABLES: ZFJAUD_BILL,RLGRAP.
DATA: BEGIN OF T_BILL OCCURS 0,
VBELN LIKE ZFJAUD_BILL-VBELN, " Billin Doc number
POSNR like ZFJAUD_BILL-POSNR, " Billing item
CHARG like ZFJAUD_BILL-CHARG, " Batch Number
FKDAT like ZFJAUD_BILL-FKDAT, " Posting date
FKART like ZFJAUD_BILL-FKART, " Billing type
KUNAG like ZFJAUD_BILL-KUNAG, " Customer(Sold-to-party)
MATNR like ZFJAUD_BILL-matnr, " Material number
FKIMG like ZFJAUD_BILL-FKIMG, " Batch Quantity
NETWR like ZFJAUD_BILL-NETWR, " Amount
WAERK like ZFJAUD_BILL-WAERK, " Currency
VERPR like ZFJAUD_BILL-VERPR, " TP
BNAME like ZFJAUD_BILL-BNAME, " End customer
AUGRU_AUFT like ZFJAUD_BILL-AUGRU_AUFT, "Order reason
END OF T_BILL.
select-options : s_vtweg for ZFJAUD_BILL-vtweg obligatory,
s_vkbur for ZFJAUD_BILL-vkbur,
s_kunag for ZFJAUD_BILL-kunag,
s_matnr for ZFJAUD_BILL-matnr,
s_prodh for ZFJAUD_BILL-prodh,
s_erdat for ZFJAUD_BILL-erdat obligatory,
s_werks for ZFJAUD_BILL-werks,
s_lgort for ZFJAUD_BILL-lgort.
selection-screen begin of block blk1 with frame title text-002.
parameters : p_file like rlgrap-filename
default 'C:\yvfjaud_billdet.xls'.
SELECTION-SCREEN SKIP 1.
PARAMETERS : p_flag AS CHECKBOX DEFAULT ' '.
selection-screen end of block blk1.
START-OF-SELECTION.
perform collect_data.
perform display_data.
if p_flag = 'X'.
perform download_to_localpc.
endif.
TOP-OF-PAGE.
perform set_page_header.
*& Form collect_data
text
FORM collect_data .
SELECT VBELN POSNR CHARG FKART KUNAG MATNR FKDAT
FKIMG NETWR WAERK NETPR VERPR BNAME AUGRU_AUFT BNAME
FROM ZFJAUD_BILL
INTO CORRESPONDING FIELDS OF TABLE T_BILL
WHERE
vtweg IN s_vtweg AND
vkbur IN s_vkbur AND
kunag IN s_kunag AND
matnr IN s_matnr AND
prodh IN s_prodh AND
erdat IN s_erdat AND
werks IN s_werks AND
lgort IN s_lgort.
ENDFORM. "collect_data
FORM download_to_localpc .
call function 'WS_DOWNLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = t_bill.
if sy-subrc <> 0.
message E000 with 'Download not successful'.
endif.
ENDFORM. " download_to_localpc
FORM display_data .
sort t_bill by vbeln.
loop at t_bill.
if t_bill-AUGRU_AUFT = '100' OR
t_bill-AUGRU_AUFT = '101' OR
t_bill-AUGRU_AUFT = '102'.
t_bill-FKIMG = '0.00'.
endif.
write :/1 t_bill-VBELN ,
15 t_bill-POSNR,
25 t_bill-CHARG,
40 t_bill-FKDAT,
55 t_bill-FKART,
70 t_bill-KUNAG,
85 t_bill-matnr,
100 t_bill-FKIMG,
115 t_bill-NETWR,
140 t_bill-WAERK,
145 t_bill-VERPR,
165 t_bill-BNAME.
endloop.
data: line line like t_bill occurs 0 with header line.
loop at t_bill into line.
write:/ line-FKIMG,line-netwr.
AT END OF FKIMG.
SUM.
ULINE.
WRITE: / line-FKIMG, line-netwr.
SKIP.
ENDAT.
AT LAST.
SUM.
ULINE.
WRITE: / line-FKIMG, line-netwr.
ENDAT.
endloop.
ENDFORM. " display_data
FORM set_page_header .
call function 'Z_REPORT_TITLE'
EXPORTING
line_size = sy-linsz
sy_title = 'Billing Details with Cost'
uline = 'X'
first_page_only = ' '.
write :1(15) 'Billing Doc' color col_heading,
15(15) 'Item' color col_heading,
25(15) 'Batch' color col_heading,
40(15) 'Posting Date' color col_heading,
55(15) 'Billing Type' color col_heading,
70(15) 'Sold-to-party' color col_heading,
85(30) 'Material' color col_heading,
110(15) 'Qty' color col_heading,
125(15) 'Amount' color col_heading,
140(15) 'Currency' color col_heading,
155(15) 'TP' color col_heading,
165(15) 'End Customer' color col_heading.
ENDFORM. " set_page_header -
How to set Grand Total of a Measure when its aggregation rule is Max in Logical Layer
Hi
I have a Measure Column (Budget) and in Logical layer the aggregation rule is set as (Max) which looks like Max(Budget). But now it is included in the report and when my client is trying to see its grand total, it is giving the Max Budget figure of the report rather than giving the total sum(grand total).
Kindly share some ideas in achieving the grand total without disturbing the actual aggregation of the measure.Thank You for your reply.
In my case i don't have a problem with aggregation for Budget Measure(max(Fact_XXKC_SHIP_TO_BUDGET_CAT_F.SALESREP_BUDGET_YTD)). This is the aggregation rule applied on the Salesrep Budget YTD.
Now i created a report with columns
Salesrepresntative(Dimension),, Sales Invoices(Measure1),, SALESREP_BUDGET_YTD(Measure 2).
In the above report the values are perfect, but when we used Grand total option at ROW level in table view, the grand total of Measure1 is cumulative of all the rows, but the Grand total of SALESREP_BUDGET_YTD (measure2) is the max of all the columns.
What i require is the Grand total of SALESREP_BUDGET_YTD (measure 2) should be cumulative of all the columns.
I have shared my SQL query, kindly verify it and share any idea.
select sum(case when T97600.W_XACT_TYPE_CODE = 'Chargeback' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE end ) as c1,
sum(case when T97600.W_XACT_TYPE_CODE = 'Credit Memo' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE end ) as c2,
sum(case when T97600.W_XACT_TYPE_CODE = 'Debit Memo' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE end ) as c3,
sum(case when T97600.W_XACT_TYPE_CODE = 'Standard Invoice' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE when T97600.W_XACT_TYPE_CODE = 'Invoice Cancellation' then T93664.NET_AMT * -1 * T93664.GLOBAL1_EXCHANGE_RATE end ) as c4,
T315597.XXKC_RESOURCE_NAME as c5
from
W_CUSTOMER_LOC_USE_D T315597 /* Dim_W_CUSTOMER_LOC_USE_D_Status */ ,
W_SALES_INVOICE_LINE_F T93664 /* Fact_W_SALES_INVOICE_LINE_F */ ,
W_XACT_TYPE_D T97600 /* Dim_W_XACT_TYPE_D_Sales_Ivclns */
where ( T93664.XACT_TYPE_WID = T97600.ROW_WID and T93664.DELETE_FLG = 'N' and T93664.XX_SHIP_TO_LOC_USE_WID = T315597.ROW_WID )
group by T315597.XXKC_RESOURCE_NAME
) D1 full outer join (select max(T313184.SALESREP_BUDGET_YTD) as c1,
T315597.XXKC_RESOURCE_NAME as c2
from
W_CUSTOMER_LOC_USE_D T315597 /* Dim_W_CUSTOMER_LOC_USE_D_Status */ ,
XXKC_SHIP_TO_BUDGET_CAT_F T313184 /* Fact_XXKC_SHIP_TO_BUDGET_CAT_F */
where ( T313184.SITE_USE_WID = T315597.ROW_WID )
group by T315597.XXKC_RESOURCE_NAME -
OBIEE 11g - How to display Grand Total in graphs
hi ,
I am using obiee 11.1.1.6 version . In a report I have a requirement to display the grand total (present in the table) to be shown in the graph also . Kindly help.
Regards,
NivHi Niv,
One quick question here.How are you creating Grand Total?
I have created using grand total by row summing and inserting that value in the Group By Function.
Attached the screen shot for your reference.
GT - Download - 4shared
Mark if helps
Thanks, -
How to show Grand total values in Chart view....
Hi,
I have a crazy req. like i need to show grand totals values also on the chart view along with the normal metrics.
column Metric1 Metric2
AAA 10 20
BBB 30 15
CCC 20 15
TOTAL 60 50
so here i need the values 60 and 50 also also to be displayed in a line graph
cheersPretty simple to achieve :)
In your Pivot view, under Rows section where you have column dimensions like AAA,BBB etc...create a new calculated item say Grand Total with function as 'formula' and formula as sum(*). This will give you a new row with totals. Now Chart Pivoted Results and you are done.
Hope answered -
How to get grand total in query designer
Hi,
Antbody know how to get the grand total after the last row in query designer? I
ThanksHi,
If we select the very first Characterstic in the rows section and set the Supress result rows as "never".
That will show the overall result in the end of the report,
In the query properties tab ,check for display properties of the result.That should be set to bottom.
Hope this will work.
Thanks
Mukesh -
How to display grand total only on the last page of my report
Hello
I need to display the grand total amount of the invoice only on the last page of every report. If the report has 1 page then the grand total will be displayed on the 1st page. If the report has 2 pages then a subtotal will be displayed on the 1st page adding up all the amounts on page 1 only, and the grand total will be displayed on the 2nd page, adding up all the amounts of page 1 and 2. If the report has 3 pages then the a subtotal will be displayed on page 1 adding up all the amounts of page 1, and another subtotal on page 2 adding up all the amounts of page 2, and the grand total are displayed on page 3 adding up the amounts of every page.
supplier amount
xx 100
yy 100
subtotal 200
page 1 of 2 --here i need to display only the total amounts of page 1
supplier amount
subtotal brought forward 200 --then i need to bring total of page 1 over to page 2
qq 300
zz 300
total 800 --here i have reached the end of the report and
need to display the grand total
page 2 of 2
--Currently i am displaying this on my report
supplier amount
xx 100
yy 100
total 800 --this one gives the problem cause it displays the grand total
---------- on page 1 of 2 even before you can see the amounts on the
next pages
page 1 of 2
supplier amount
qq 300
zz 300
total 800put the grand total in a frame and set it to print on the last page of the enclosing object.
-
How to add a total column (2 totals, just 1 key figure)
I have a query defined with only 1 key figure.
This key figure is in local currency.
I need the total of that key figure in the local currency, and another total with a foreign currency.
How can i show just 1 key figure in the detail, and 2 totals in the totals area??
Here i have some ideas.....
a) build a formula.
b) Hide that formula for the detail of the query.
PLEASE HELP ME.....!!!!
Thanks in advance for your help, if there is another better solution for that.....
Thanks again.....
Carlos Eduardo España
[email protected]Hello,
have you tried the GRID reporting. if the structure of your report is fix you can use a formular for each cell.
In we reporting you have the possibility to change the output of the report with the web table interface (user exit)
I have no other idea.
reg.
Michael
Maybe you are looking for
-
Exporting back up numbers from my Razor to Outlook Express
I used to have a Razor phone, I had them download the contacts from my Sim Card to my flash drive. I'm trying to capture all my phone contacts to Outlook Express, but when I try to import contacts to outlook express nothing happens. Is their a way to
-
External hard drive messed up by Airport overload?
I'm not sure if this is the right forum for this question, but my problem did start while I was using my Airport network, so here goes: I don't use Time Machine, as I still run the last build of Tiger. Airport connects my Mini and my MacBook Pro, and
-
How to change language in speak selection
Hello! Once i bought my fourth gen ipod touch, default voice in "voice over" and "Speak selection" was British Eglish. Some day i had to restore my ipod,and i did, after that default language was US English with female voice! I found out how to chang
-
Problems playing by genre??
Is anyone else having trouble playing by genre? when I sort (both in iTunes and on my iPod) by genre then hit the Random button, the players only cycle through 3 songs although there is many more songs in the genre. When I remove the random selection
-
Hi Everyone! I would just like to know how we can limit the access of a purchasing group to a specific purchasing organization. Please help.