Hide column result in pivot grand total row
Hello
Do you know if it is possible to hide the result of a particular column in a pivot grand total row?
I have several columns to which makes sense use a grand total row (as in a sum) but for others (such as average) it does not make sense in the light of the client business rules.
Any help on this matter is highly appreciated :)
Thanks in advance,
J Marques
I have a measure that represents the average time according to the dimensions it uses - and that works properly.
However, the grand total for that column shows me the average of the average times above. This is not correct that is why I want to hide it.As said by kishore, In pivot go to that time average time column -> Aggregation rule -> None, This won't affect the column avg value.
The grant total value will not come.
By setting this, are you getting wrong values?
Thanks,
Vino
Similar Messages
-
Column Level Security - Grand Total row
Hello All, I have a question about Column Level Security in a report where Grand Total is turned on. I am working inside of the OOTB Paint rpd and I am looking at the 'Finish Sales Trend for Current Year' report on the Brand Analysis dashboard page. Inside of the Admin Tool I added column level security on the Units presentation column in the Sales Measures table. I implemented security that will not allow the Central Region Manager group to view the Units column. When I access the report I noticed that the Grand Total row of the table is slightly skewed because the Units column is hidden. The Grand Total row is showing, however all the results are off by 1 cell.
The forum is not allowing me to attach pictures to this post.
Thanks for your helpHi User,
It is an bug refer the metalink,
Bug.9576412 - GRAND TOTAL NOT WORKING WHEN COLUMN LEVEL SECURITY IS IMPLEMENTED
For eg:
consieder a report with following columns,
Year Product Measure1 Measure2
In this if for measure1 the column level security is enabled (user1 who is not supposed to see the data).
Then grand total value of measure2 will be in the grand total of measure1. (for user1)
When column level security is enabled, that column will be pushed to the end of the table view.
So that it is happening.
By using case statements with groups or users we can get it work without enabling the column level security.
Thanks,
Vino -
Operations on Pivot Grand Total
Hello experts,
is it possible to have different operations on Pivot Table's grand totals summations?
For example I want one of the columns to show
Grandtotal1/Grandtotal2 instead of summing up that column.
Thank You
RegardsGo for Union request..
and add your 2nd request as Grand Total by keeping the static Text for column formula. And, here your measure part should calculate a/b as you desired.
Regards
Kishore Guggilla -
% is not getting correctly for the Grand Total Row in OBI10g
Hi,We have a report in table view with the following structure.
Name Target Act %Ach
ABC 100 50 50
XYZ 200 10 5
Total 300 60 27.5
The value for the %Ach Total row should be 20% but in the report it is showing as 27.5.
any one observed this ,how to correct this??
ThanksHi,
To get grand total correctly..configure instanceconfig.xml and put..
<ReportAggregateEnabled>true</ReportAggregateEnabled> between <serverinstace>..
refer..
http://obiee101.blogspot.com/2009/09/obiee-grand-totals-with-calculated.html
Hope it solves ur problem -
Summing columns to give a grand total
Hi,
I'm sure this is simple using one of the GROUP BY extensions, but I'm having a particularly dumb day
I have the following SQL
SELECT EGROUP.EDESC,
SUM(DECODE(PERS.AGERANGE,'UNDER 16',1,0)) AS "UNDER 16",
SUM(DECODE(PERS.AGERANGE,'16 - 25',1,0)) AS "16 - 25",
SUM(DECODE(PERS.AGERANGE,'26 - 35',1,0)) AS "26 - 35",
SUM(DECODE(PERS.AGERANGE,'36 - 45',1,0)) AS "36 - 45",
SUM(DECODE(PERS.AGERANGE,'46 - 59',1,0)) AS "46 - 59",
SUM(DECODE(PERS.AGERANGE,'60 +',1,0)) AS "60 +",
SUM(DECODE(PERS.AGERANGE,'UNKNOWN',1,0)) AS "UNKNOWN",
COUNT(PERS.PIN) AS "Total"
FROM (SELECT 1 ORD, 'WBRI' ECODE, 'White British' EDESC FROM DUAL UNION ALL
SELECT 2, 'WENG', 'White English' FROM DUAL UNION ALL
SELECT 3, 'WSCO', 'White Scottish' FROM DUAL UNION ALL
SELECT 4, 'WWEL', 'White Welsh' FROM DUAL UNION ALL
SELECT 5, 'WIRI', 'White Irish' FROM DUAL UNION ALL
SELECT 6, 'WOTH', 'White Other' FROM DUAL
) EGROUP,
(SELECT 1234 PIN, 'WBRI' PCODE, 'UNDER 16' AGERANGE FROM DUAL UNION ALL
SELECT 1235, 'WENG', '16 - 25' FROM DUAL UNION ALL
SELECT 1236, 'WENG', '16 - 25' FROM DUAL
) PERS
WHERE EGROUP.ECODE = PERS.PCODE(+)
GROUP BY EGROUP.EDESC, EGROUP.ORD
ORDER BY EGROUP.ORD ASC which produces
White British 1 0 0 0 0 0 0 1
White English 0 2 0 0 0 0 0 2
White Scottish 0 0 0 0 0 0 0 0
White Welsh 0 0 0 0 0 0 0 0
White Irish 0 0 0 0 0 0 0 0
White Other 0 0 0 0 0 0 0 0what I'd like is for a 'totals row' to also be output
White British 1 0 0 0 0 0 0 1
White English 0 2 0 0 0 0 0 2
White Scottish 0 0 0 0 0 0 0 0
White Welsh 0 0 0 0 0 0 0 0
White Irish 0 0 0 0 0 0 0 0
White Other 0 0 0 0 0 0 0 0
Total 1 2 0 0 0 0 0 3I really need to read the Data Warehousing manual, to try and understand how CUBE, ROLLUP and grouping sets work.
Thanks
DaveSQL> SELECT nvl(EGROUP.EDESC,'Total'),
2 SUM(DECODE(PERS.AGERANGE,'UNDER 16',1,0)) AS "UNDER 16",
3 SUM(DECODE(PERS.AGERANGE,'16 - 25',1,0)) AS "16 - 25",
4 SUM(DECODE(PERS.AGERANGE,'26 - 35',1,0)) AS "26 - 35",
5 SUM(DECODE(PERS.AGERANGE,'36 - 45',1,0)) AS "36 - 45",
6 SUM(DECODE(PERS.AGERANGE,'46 - 59',1,0)) AS "46 - 59",
7 SUM(DECODE(PERS.AGERANGE,'60 +',1,0)) AS "60 +",
8 SUM(DECODE(PERS.AGERANGE,'UNKNOWN',1,0)) AS "UNKNOWN",
9 COUNT(PERS.PIN) AS "Total"
10 FROM (SELECT 1 ORD, 'WBRI' ECODE, 'White British' EDESC FROM DUAL UNION ALL
11 SELECT 2, 'WENG', 'White English' FROM DUAL UNION ALL
12 SELECT 3, 'WSCO', 'White Scottish' FROM DUAL UNION ALL
13 SELECT 4, 'WWEL', 'White Welsh' FROM DUAL UNION ALL
14 SELECT 5, 'WIRI', 'White Irish' FROM DUAL UNION ALL
15 SELECT 6, 'WOTH', 'White Other' FROM DUAL
16 ) EGROUP,
17 (SELECT 1234 PIN, 'WBRI' PCODE, 'UNDER 16' AGERANGE FROM DUAL UNION ALL
18 SELECT 1235, 'WENG', '16 - 25' FROM DUAL UNION ALL
19 SELECT 1236, 'WENG', '16 - 25' FROM DUAL
20 ) PERS
21 WHERE EGROUP.ECODE = PERS.PCODE(+)
22 GROUP BY grouping sets ((EGROUP.EDESC, EGROUP.ORD),())
23 ORDER BY EGROUP.ORD ASC
24 /
NVL(EGROUP.EDE UNDER 16 16 - 25 26 - 35 36 - 45 46 - 59 60 + UNKNOWN Total
White British 1 0 0 0 0 0 0 1
White English 0 2 0 0 0 0 0 2
White Scottish 0 0 0 0 0 0 0 0
White Welsh 0 0 0 0 0 0 0 0
White Irish 0 0 0 0 0 0 0 0
White Other 0 0 0 0 0 0 0 0
Total 1 2 0 0 0 0 0 3
7 rijen zijn geselecteerd.Regards,
Rob. -
How to create a grand total row wise in obiee reports
Hello every one,
Can any one please suggest me how can I achieve the below scenario
Presently I have
Total_bill_to_client Total wip_to_bill total_realization_amount total_carry_forwardamount
123334523234.00 4532423334.00 5324323234343434.00 3243242324324343324.00
I want this to be displayed in PIE graph,but before that I need to change the format, can you help me how to get this.
Total_bill_to_client 123334523234.00
Total_wip_to_bill 4532423334.00
total_realization_amount 5324323234343434.00
total_carry_forwardamount 3243242324324343324.00
Help me.
Thanks,
Ven
Edited by: 991688 on Mar 15, 2013 11:04 AMIs'nt there any dimension in your analysis here .? I see only measures but what are you asking OBIEE to base its pie and slices on to show the Pie Graph?
Let us know.
Thanks,
SVS -
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 -
Grand total showing wrong results
Hello,
I am having one prblem,using obiee 11g.
Have a pivot table with 3 columns, one is month and other are showing numbers.
For month we show the 2 number columns
when i click grand total its showing the wrong total for the second number column.
I really don't understand why its happening?
Any help?
ThanksHi,
Set Aggregation Rule as Server Complex Aggregate may solve your problem, ie goto
Column -> Edit Formula -> Aggregation Rule -> Server Complex Aggregate
Thanks,
Balaa... -
ALV user interface - hide details rows - show only sub-total rows
Is there a way using the ALV interface for a user after sub-totalling to hide all the detail rows and only show the sub-total and grand total rows?
Sure, you can force this in the code. Please see the sample program.
report zrich_0004
no standard page heading.
type-pools slis.
data: fieldcat type slis_t_fieldcat_alv.
data: sort type slis_t_sortinfo_alv.
data: begin of ivbap occurs 0,
vbeln type vbap-vbeln,
kunnr type vbak-kunnr,
vkorg type vbak-vkorg,
netwr type vbap-netwr,
end of ivbap.
* Selection Screen
start-of-selection.
perform get_data.
perform write_report.
* Get_Data
form get_data.
select vbak~vbeln vbak~kunnr vbak~vkorg vbap~netpr
into table ivbap
from vbak
inner join vbap
on vbak~vbeln = vbap~vbeln
up to 100 rows.
endform.
* WRITE_REPORT
form write_report.
data: layout type slis_layout_alv.
layout-totals_only = 'X'.
perform build_field_catalog.
perform build_sort.
* CALL ABAP LIST VIEWER (ALV)
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
it_sort = sort
is_layout = layout
it_fieldcat = fieldcat
tables
t_outtab = ivbap.
endform.
* BUILD_FIELD_CATALOG
form build_field_catalog.
data: fc_tmp type slis_fieldcat_alv .
clear fieldcat. refresh fieldcat.
clear fc_tmp.
fc_tmp-reptext_ddic = 'Sales Org'.
fc_tmp-fieldname = 'VKORG'.
fc_tmp-tabname = 'IVBAP'.
fc_tmp-outputlen = '4'.
append fc_tmp to fieldcat.
clear fc_tmp.
fc_tmp-reptext_ddic = 'Customer'.
fc_tmp-fieldname = 'KUNNR'.
fc_tmp-tabname = 'IVBAP'.
fc_tmp-outputlen = '10'.
append fc_tmp to fieldcat.
clear fc_tmp.
fc_tmp-reptext_ddic = 'SD DOC'.
fc_tmp-fieldname = 'VBELN'.
fc_tmp-tabname = 'IVBAP'.
fc_tmp-outputlen = '10'.
append fc_tmp to fieldcat.
clear fc_tmp.
fc_tmp-reptext_ddic = 'Net'.
fc_tmp-fieldname = 'NETWR'.
fc_tmp-tabname = 'IVBAP'.
fc_tmp-outputlen = '15'.
fc_tmp-do_sum = 'X'.
fc_tmp-datatype = 'QUAN'.
append fc_tmp to fieldcat.
endform.
* FORM build_sort *
form build_sort.
data: tmp_sort type line of slis_t_sortinfo_alv.
clear sort. refresh sort.
<b>
clear tmp_sort.
tmp_sort-fieldname = 'VKORG'.
tmp_sort-tabname = 'IALV'.
tmp_sort-up = 'X'.
tmp_sort-subtot = 'X'.
tmp_sort-group = 'X'.
append tmp_sort to sort.
clear tmp_sort.
tmp_sort-fieldname = 'KUNNR'.
tmp_sort-tabname = 'IALV'.
tmp_sort-up = 'X'.
tmp_sort-subtot = 'X'.
tmp_sort-group = 'X'.
tmp_sort-expa = 'X'.
append tmp_sort to sort.
clear tmp_sort.
tmp_sort-fieldname = 'VBELN'.
tmp_sort-tabname = 'IALV'.
tmp_sort-up = 'X'.
tmp_sort-subtot = 'X'.
tmp_sort-group = 'X'.
tmp_sort-expa = 'X'.
append tmp_sort to sort.</b>
endform.
Regards,
Rich Heilman -
Hi,
I have a Pivot table view which has three measures namely Net Units, Budget Net Units, Achvd% along with channel and Account at row level.
Here Achvd% is a calcualted column with Achvd% = (Net Units - Budget Net Units)/Budget Net Units.
At my Grand Total level also the same Formula should apply for Total Achvd% i.e., (Total Net Units - Total Budget Net Units)/Total Budget Net Units.
Currently it is displaying the Aggregation Level for this column as Sum.
In the Aggregation Level Setting for any column, we have Default, Sum, Average,Min, Max,... So can this customization for this column be done at Grand Total Level.
Can you please provide valuable inputs
Thanks
Sri
Edited by: sri on Feb 2, 2011 10:54 PMSaichand,
I tried as you suggested, it is working on a single request... But if we have a result set of two combined requests(union) then this option is not helpful.
Can you suggest how to take this up while using combined requests
Thanks,
sri
Edited by: sri on Feb 7, 2011 12:30 AM -
Hi,
I found it is wrong for grand total of measure / calculated field? Here is my sample and data:
Here is the data:
TotalForecast:=CALCULATE(SUM([Qty]), Table1[Data Type]="Forecast")
TotalSales:=CALCULATE(SUM([Qty]), Table1[Data Type]="Sales")
Diff:=[TotalSales]-[TotalForecast]
ActualDemand:=if([Diff]<0,[TotalForecast],[TotalSales])
Is there something wrong for my expression?
Thanks
WilsonThe "problem" is that measures actually calculate individually for each cell in a pivot. What that means is that technically the grand total row in a pivot is not related to the rows above it. Intuitively, it seems like it is related
because often times the grand total is what you expect. This can be a little confusing at first but there are some blog posts out there that do a good job of explaining the concept.
Your current measure is looking at the Diff only as it pertains to the grand total row. It sees 9 and therefore returns the value of TotalSales.
The quickest fix is probably just to add one more measure that forces your current measure to evaluate itself in the proper context:
ActualDemand2:=
SUMX(
VALUES(Table1[Product Type]),
[ActualDemand]
In PowerPivot functions that end in "x" are called iterators. They let you change the granularity of a calculation by cycling thru the individual rows of a table you specify.
In this case, the table I am using is VALUES(Table1[Product Type]), which is a single column table containing the unique values of the Product Type.
Now your measure evaluates the sum for each Product Type (which ends up being the 4 results showing in your pivot table above for each Product) and adds those 4 results together for Grand Total. -
Hi,
I am having some problems using Grand Total on calculated columns (presentation calculations) with a TOP 25 page filter.
I basically have my calculated columns filtered by the Current Week repository variable, and then I want to add a filter to show only the top 25. That all works fine, but the grand total on my report is showing the total of all records, not just the top 25. If I add a normal (non-calculated) column from my subject area, the grand total works fine with the top 25 filter.
Is there any explanation or workaround for this?Hello!
I had the same problem, and this fix solve one part of my problem with grand totals.
The other one is not solved:
We have a strong request to compare total_year measures against part_year measures (dinamicaly navigated with dashboard prompt).
I have a report in dashboard which includes 3 measures:
- plan_year_total (which is created in admin as measure of sales and at time_dimension logical level is year - and this works ok)
- sales_part_of_the year (which is navigated through dashboard prompt between)
- plan_part_of_the_year (which is navigated through dashboard prompt between)
Problem is when I want to show share in grand total row like:
plan_year_total / sales_part_of_the year
It gives out totaly wrong result.
Is there any other idea or workaround?
Gorazd -
Reg : Grand Total in OBIEE
hi all,
I have two measure columns and i performed grand total on that columns .
Here, I want grand total only for one measure column (I dont want to use default aggregatio rule as none).
Any formatting options available(for eg: fill the same color for the measure as well as value for the particular column Grand Total)
Can u help on this?
Edited by: udeffcv on Apr 5, 2010 12:24 AMIf you are using Pivot table.,
try placing the measure cols(for which grand total is not needed) in the "Rows" section of the pivot table.
Regards,
Raghu -
Using Rollup to get subtotals and grand total - missing right pren error
Hello,
I am trying to create sub totals by person_id and a grand total row in my APEX report but I get a "missing right pren error." I finally figure out that I need to eliminate column alias names to fix this problem, however, I now get an ambigous column reference. I am making this change in my main SQL report statement, however, I was wondering if I should be using the "group by Rollup" somewhere else while using "Break Formatting."
I would appreciate any help.
Thanks
lehCan you post the Query please?
-
I have say three columns in a report, Col A that aggregates by SUM, Col B that also aggregates by SUM and Col 3 that aggregates by Avg
Col A Col B Col C
Amount Qty Avg price
10 3 3.33
20 4 5
30 7 ? Grand Total (use of report total)
I want to see Sum (col A) / Sum Col B and average of Col C where I have ?, how can I do that?Hi,
If i got you correctly,
i think you can achieve this way.
Criteria:
Dim X, Dim Y, Col A , Col B , Col C
case i:
If Col A & Col B are Aggregated to SUM(in RPD),
then in the column formula of 'Col C',
Col A/Col B (Aggregation Rule - Default)
This gives you the SUM(Col A) / SUM(Col B) for the Grand total Row for 'Col C'
case ii:
If Col A & Col B are Not Aggregated to SUM(in RPD),
then in the column formula of 'Col C',
SUM(Col A BY Dim X, Dim Y)
SUM(Col B BY Dim X, Dim Y) (Aggregation Rule - Default)
This gives you the SUM(Col A BY all Dim X,Y values) / SUM(Col B BY all Dim X,Y values) for the Grand total Row for 'Col C'
Hope it helps you.
Regards,
Raghu
Maybe you are looking for
-
Urgent help needed. Hello, This evening I tried to backup the files in Recovery Q file. In a 4.7GB DVD. I started with a simple click on the red icon at Computer. It was a long wait, but finally i got something that the first part was succesfully suc
-
"Fix" for Calendar Events displaying one day early
I posted a question about this a couple of weeks ago, but can't find my original post. No way to search by user name, so I gave up looking for it after 10 or so pages. Because there are several others who have posted about the same problem, I decided
-
How can i distill the invoice which has not verified?
hello evryone: my problem is I want to distill the invoice which has not verified through the tcode MIRO. thanks in advance!
-
Base UOM is MTR but while MB1A default it is issuing CM
Hi, We have one material for this Base UOM is MTR in some BOM it is in CM both conversion factor are mention in Material master while issuing material against production order it issue in CM but when same material is issue in MB1A with 201 mo
-
Person Assignment to Operation & Graphical Monitor of Persons.
Hi 1.I am checking Graphical Monitoring of Maintenance Person after assigning in Work Order Operations & saving it. For Ex In Maint Order , I have assigned 10 hrs for Main Person 1 , it's Visible in Graph showing Person 1 color marked for 10 hrs . b