Percentage calculation at Grand Total Level
Hello,
I have issue in calculating the percentage at grand total level. I have three measures (A count, B count and Total count). These measures are defined in rpd with aggregation rule as sum. In answers i am calculating A % as 100*A count/Total Count. I have defined the aggregation rule for this percentage column as default. I am able to get correct % results for sub total level but getting wrong percentage values when Grand Total level is added. Going through some posts in this forum, people have suggested to enable this tag in instance config file.
<ReportAggregateEnabled>true</ReportAggregateEnabled>
After adding this tag, i am able to get correct results. The issue is when there is no data i am able to see table view with all columns having blank values even though i have defined the no result view.
Please Help
HI,
For your CKF set exception aggregation as summation based on the last most characteristic in the row in the reference(as per the example it is product)
Regds,
Shashank
Similar Messages
-
% of calculation in GRAND TOTAL in PIVOT TABLE
Hi Gurus,
I have a requirement to calculate the percentage based on the grand total in pivot table,but in row wise i am getting the percentage while in grand total level i am not getting correct values.I have tried with all the options like:average,Sum,Default,Max,Min,count etc and also with the percent of row,column,parent column etc.
Please give me a solution for this ASAP.
view of my table is
Previous Value||Present Value||change between Pres & Prev||% of change(((pres - prev)/pres)*100)
10||20||10||50%
00||01||01||100%
10||05||-05||-50%
here i should get values in grand total like
20||26||06||23%
but i am getting values when giving sum for %of calc in measures values
20||26||06||100%
if i give avg for %of calc in measures values then i am geting
20||26||06||33%
how to solve this prob.Can any one give sol plzzzzzzzz
Thanks,
NaveenHi,
Refer : http://www.skurabigroup.com/blog/?p=579
Regards,
Srikanth -
Grand total level of the percentage column giving value from the first row of column
Hi Guys,
I have a requirement like to show the percentage value which the calculation of two columns , in the grand total level .
I think it can be achievaable by giving the aggregation rule for that column as Server complex Aggregate .
eg.
Fiscal Year Department subdepartment Total cost Sub Department cost % cost
2011 Edu Books 500 50 10
2011 Edu Note Book 200 100 50
2011 Edu Furniture 300 30 10
2011 Edu 1000 180 18
Grand Total
Ideally it should come like as above ..but the problem with me that ,it showing correct value for all the rows ,but at the grand total level it's taking the value of % cost from the first row . like below..
2011 Edu 1000 180 10
Grand Total
I have calculated the % cost column in the answer itself as (Sub Department cost /Total Cost )
where the
Aggregation rule for the columns given are
Total Cost - Sum ,Sub Dep Cost - Sum, % Cost - Server Complex Aggregate
So plz suggest me any Idea to achieve this ..Thanks in advance.Give the agg. as avg for % field.
Best of Luck,
Kashi -
What is the use of Grand total level in obiee ,
hi ,
i know that we can perform drill down from one level to another level, level base measures ,aggregate atble.................
apart from that any other user if so pls give me one small example
What is the use of Grand total level in obieeWhen you start to use multi-star models and none-conforming dimensions, you will use the grand total level to tell the BI Server what to do with the measures when you try and plot them all in the same answers request.
Also consider any meaure you want to perform a '% of total' you will need the total mapped somewhere, this could use the Grand total level as a level based measure.
Regards
Alastair -
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 -
Grand Total Level in OBIEE 11g
Hi ,
I had a report with product name , order number , order quantity , order amount as columns .
Now i want add a new column at the bottom level as grand total for ordered amount.
Can some one please tell me how to do that ,,,I am in hurry
Thank youHi,
If you already had the aggregation rule of the ordered amount as sum, then in the table, you can enable row level summation. In the table editor, just on top of the rows section, there is a summation icon that you can click on and set the option as 'after'.
If you have already tried this thing and if it does not work then you may want to try the narrative view option. Here are steps for it.
1. Create a new column.
2. Change the function as RSUM(order quantity).
3. In the narrative view use this column as @5 (I think you already have 4 columns and hence this might be 5th column)
Hope this helps.
Thank you,
Dhar -
Percentage in Totals / Grand Totals
I have 2 columns on a report (in reports builder) that have numbers - total touched & total count. I am calculating the percentage done with the following formula: ROUND(((PP_TOUCHED / PP_TOTAL) * 100),2). This works fine for the detail lines, but I can't get the correct percentage in the grand totals.
Also, when I use the above formula and one of the numbers is zero, I get an error.
KrisI have 2 columns on a report (in reports builder)
that have numbers - total touched & total count. I
am calculating the percentage done with the following
formula: ROUND(((PP_TOUCHED / PP_TOTAL) * 100),2).
This works fine for the detail lines, but I can't
get the correct percentage in the grand totals.How are you calculating the percentage for grand total? Create a formula column at report level and use summary columns in the formula to calculate percentage.
Also, when I use the above formula and one of the
numbers is zero, I get an error.
It may help:
ROUND(decode(nvl(PP_TOTAL,0),0,((PP_TOUCHED / PP_TOTAL) * 100)),2) -
Navigation of Grand total in pivot table
I’m currently working in report development Oracle BI wherein I need to develop a report using pivot table. I need to do summation at both row and column level and when clicked on the Grand Total level it should display entire resultset. According to the data clicked the filter condition is passed on to next level of report, but it displays no results at total level as the filter is passed as the same name ‘Grand Total’(column heading) instead of the actual values.
Any pointers on this would be helpful to us.i am experiencing the same proble.I hope you are creating calculated item and you are clciking on measure value corresponding to calculated item.In that case it will pass calculated item name to child report .Correct me if i am wrong.
I think it is not possible in that case to pass correct filters.Wait for others comments.
Regards,
Sandeep -
Condtional formatting on Grand Total in OBIEE 11.1.1.6.7
Hi,
We have upgraded a report from 10g to 11g and the report has pivot table which has conditional formatting set on the Grand Total level and is resulting in the following error in OBIEE11g.
“DXE compiler error. No table 'GTGT' found in DXE. Source name: DxeAPI. XML: None”
XML Snippet in 10g:
<saw:condition>
<sawx:expr xsi:type="sawx:comparison" op="notNull">
<saw:columnRef columnID="xx"/></sawx:expr>
<saw:displayFormat fontColor="#FFFFFF" wrapText="true"/>
</saw:condition>
Equivalent XML Snippet in 11g:
<saw:conditionalDisplayFormat>
<saw:formatRule>
<saw:condition>
<sawx:expr xsi:type="sawx:comparison" op="notNull">
<saw:columnRef columnID="xx"/></sawx:expr></saw:condition>
<saw:formatSpec fontColor="#FFFFFF" wrapText="true"/></saw:formatRule></saw:conditionalDisplayFormat>
Please let me know how to resolve this issue.Hi User,
This report is corrupted. You can rebuild or re copy the xml from 10g to 11g and see if it works.
Thanks,
Amol
(Please mark this answer, if you find helpful) -
Hello Guys,
I have a situation...
I am using Pivot View for a report (the reason being...I need the data by month in sections....)...
I need total for each section so I used the Sum button of Rows for grand total of each section (again the reason being....if I used Sum of Sections...it will display another section as 'All sections' which is nothing but all the entries clubbed into one table.....which is not desirable in my case)..
So, I almost have what I want..the only thing I would require is the Grand total of all the Grand totals at the bottom....
Can anyone help me please.....I tried many ways...but couldn't get it.....Thanks friend....I got it...
only problem I faced while fixing this was...The grand total formatting...I had to customize it as I didnt find a way to hide the measure grand total...
what I mean is....after hiding the details,etc...I was left with only one row..which is the calculated column 'Grand Total',....but it was just as any other row...(i.e.,) without any formatting...default background and font...
but when I clicked on 'Sum' for the 'Row'.....it showed me the actual Grand Total which means ...with formatting...but then....there were 2 rows now.....so I removed the 'Sum' and manually did the formatting to match with the other Grand Totals.....this was a workaround....let me know if there is any better solution...
Thanks anyways for the solution.... -
GRAND TOTAL SOULD BE DISPLAYED ON THE LOST PAGE OF THE SMART FORM
Hi friend,
i calculated the grand total value in my smart form, i want to display it in a smartforms lost page only can any one help me pls.
In my footer i gave the grand total in a separate line type and condition i gave only before end of main window check box activated but in every pages i got the grand total value.
kindly any one help me to accuire the exact value.
Thanks .
M.S.Amirtharaj Vijay.HI Vijay,
What Sowmya said is correct
check the table SFSY
and PAGENO holds current page no
FORMPAGES holds all page numbers
Check the condition like
SFYS-FORMPAGES > SFSY-PAGENO
or
SFYS-PAGENO > SFSY-FORMPAGES
any of above condition will work
Thanks
Surendra -
Grand Total sorting in Pivot Table
Hi Everyone,
I have 4cols taken in row and one in col with measure and i now i calculated the grand total and i want to sort the values in grand total., could anyone pls help mehi Phantasm, do as it is mentioned as kart.
IT WORKS FINE, put agrregation rule as none and take row total as after.........
take aggregation rule as NONE for last 4 columns ok......
TRY NEATLY ONCE..........IT WORKS
Thanks & Regards
J Rushi -
Grand totals are not displaying...
hi guys
for cross tab reports grand totals (rows and columns) are not displaying.
is there any fix to resolve.I have faced a similar issue in Cross tab reports.
Try using Cell Sum/Cell Sum distinct function instead
of the usual Sum function while calculating the grand total that function is working for Grand Total at bottom but not working for Grand Total on right [i] -
OBIEE Avg Issue on Grand Total
Hello Experts,
I'm having an issue while calculating the grand total for the AVG measure.This is the scenario
1)I have the show count for the top three tiles for the rolling 13 weeks and only for the weekends and for a particular group of theaters.I have a 13 week indicator and weekend indicator in the filter.
2) I have the show count to which is using ((showcount/3(top 3 titles))/ 3(3 days in the week)) = ShowCount/9
3) now when i'm doing the grand total in the pivot rules summation after ,then it is showing sum of all the averages......but this is not my case...my case should be it has to show the avg of all the theaters that are in group of theaters.
how can i resolve this issue?
Any help is greatly appreciated.Hi User,
This report is corrupted. You can rebuild or re copy the xml from 10g to 11g and see if it works.
Thanks,
Amol
(Please mark this answer, if you find helpful) -
Presentation Hierarchy Grand Total Values
Hi,
We have the following scenario,
Hierarchy Product A is created for Dimension Product A
Hierarchy Product B is created for Dimention Product B
Fact Product Measures is joined to Store Dimension , Dimension Product A, Dimention Product B and Fiscal Calendar
Dimension Product A contains subset of Products that are existing at Fact
Dimention Product B contains subset of Products that are existing at Fact
and some products can exists both at Dimension Product A and Dimension Product B
The issue we are facing is, when ever report is created using One of the Product Hierarchy and Fact. Product Sales (default aggregation is sum),
the grand total level is showing sum of all Product Sales. It is not limiting to Products that are in Product Hierarchy selected in the report.
But the sub levels are limiting based on selected Product Hierarchy which is causing not matching the roll up amount to grand total.
Is it possible to limit the grand total level value of Presentation Hierarchy based on selected Product Hierarchy.
Does anyone face similar issue.
Thanks in Advanceis your summary and detail reports hitting different facts, like summary hitting aggregate and detail report hitting it's corresponding detail level fact..?
if then,
From Front-end:
Fix the filter values in detail report that are passing from master report then try delete each columns then check the grand total. If you found your values is matching by deleting particular column then you need to investigate what is the issue around with that dimension table..
From Database side:
1. check first aggregate table has proper aggregate data of it's detail..
2. Take the detail report obiee generated query and try to comment each dimension table and it's corresponding joins to the facts, (before, this delete all the dimensional columns and other measures from select statement and put only that measure where you are getting wrong value, so that you need not to comment all the select and group by columns which saves your time.. ). Need to check by commenting each dimensional wid and it's table from clause, if you found that values is matching then there is some problem with wid columns data population in your ETL.
Is that BI-Apps project?
btw, whtz ur name?
Maybe you are looking for
-
ITunes saves dropped songs to wrong folder
Because of the size of my MP3 ad WAV music collection, I store my song files onto a SAS RAID array instead in my user's Music folder. The path to this folder ls "/Volumes/Audio Storage/Music". This has worked fine for quite a while, but I've built
-
File Error: Unknown File when trying to render a Motion Lower third
I'm getting this: "File Error: Unknown File" when trying to render a Lower third made in the Motion tab. I'm using FCP 6.0.6 and haven't had any issues with this before. It seems to work fine if there is just text, but as soon as I apply any effect,
-
Hello! Finally got around to restoring the settings on our old iPhone 4ses, however, in order to do so for my husband's old phone, we need to turn off 'find my iphone'. The problem is that he cannot remember his apple ID password (and never set up t
-
I have MacBook with OS 10.5.8 Is there any way for me to install and run Keynote on this machine? Thanks
-
How to create a file in a particular DIR?
say I want to create a file as C:\myfile.xml , instead of current working DIR. how to do that? thanks