Wrong percentage publisher grand total
Hi experts,
I have created a publisher report based in obiee answers analysis.
My problem is in percentage column, I don't want a sum of percentages. Is there any way to fix this?
I add an image to explain my problem:
http://imagizer.imageshack.us/v2/800x600q90/22/uj1n.jpg
Thanks!!
Ok!
I have created an analysis in obiee (answers)
This analysis has one dimension of two elements (Public and Private) and 3 measures (actual, previous, %)
Then I have create a report on Publisher based in obiee answers analysis.
My report lookslike:
-------------Actual-------Prev------%
Private---100------------50--------100%
Public----200-----------75---------166%
TOTAL---300-----------125-------140% <--- Correct value is 140% but when I show TOTAL on PUBLISHER I see sum of values (100+166=266%)
How can I fix this?
Thanks!
Similar Messages
-
Percentage of Grand Total Per Detailed Row.
Hi All,
New to BI Pub and I am trying to go through the blogs and forums.
I have a question about how to insert % of grand total in a table.
I have the following requirements....
Group by: State
City | Sales | % of Grand Total Sales
Albany 100,000 10%
Buffalo 500,000 50%
New York City 400,000 40%
State Total <NY> 1,000,000
so on so forth....
Grand Total Sales 1,000,000
The summing of sales by state and grand total, i got so far.
I'm having trouble on % of Grand Total Sales by City.
For each city, i need % of the total sales.
How do I do that in an RTF template?Hard to say without seeing some sample XML data. In principle...
<?SALES div sum(//SALES)?>
But you might want to use the ratio_to_report function in your query instead. -
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 HelpHI,
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 -
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) -
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... -
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. -
Please list out the solutions available to solve the Grand total issue.
These are the problems Im facing.
If I enable Grand total I find some rows missing in the report.
sometimes if i apply any calculations in report(fx) grand total is wrong and again some rows missing.
These same issues I faced in BISE1 and it is still continuing.
Any solutions?Hi sneha,
sometimes if i apply any calculations in report(fx) grand total is wrong and again some rows missing.Strange behaviour of missing rows,dint come across this......tell us the exact problem
These same issues I faced in BISE1 and it is still continuing.How did you solve this issue in BISE1.
By,
KK -
Formulated Grand total as percentage value
Hi,
Here is my sample data
Val1 Val2 Percentage( Val2/Val1 )
59 16 27%
19 4 21%
78 20 26% (now instead of getting 26% i'm getting 48%). How to get formulated grand total value based on previous two columns ?
ThanksTry this: on your Percentage column, change the aggregation rule to "server complex aggregate."
-
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 -
XML Publisher - Multi Level group totals, subtotals and grand totals
Hi Experts,
I have a question in BI Publisher report in R12 Projects. The report has the following information: Project Parent Org -> Project Org -> Supervisor name(An employee who might be owning multiple projects) -> Project -> Task -> Expenditure and Revenue amounts.
I am able to generate the RTF report considering the above hierarchy. I am able to list Expenditure, Revenue, profit margin and few other calculated fields in the report.
Now, user is looking for the total of the amount at various levels:
Task Level
Project Level
Supervisor Level
Project Org level
Parent Org level
In my Data Definition, I have data something like this:
<group name="G_PROJECT_DETAILS" source="Q_PROJECT_DETAILS">
<element name="PROJECT_TYPE" value="PROJECT_TYPE"/>
<element name="AREA" value="AREA"/>
<element name="PARENT_ORG" value="PARENT_ORG"/>
<group name="G_SUPERVISOR_DETAILS" source="Q_PROJECT_DETAILS">
<element name="CHILD_ORG" value="CHILD_ORG"/>
<element name="SUPERVISOR" value="SUPERVISOR"/>
<group name="G_DETAILS" source="Q_PROJECT_DETAILS">
<element name="PROJECT_TYPE" value="PROJECT_TYPE"/>
<element name="PRJ_NUMBER" value="PRJ_NUMBER"/>
<element name="CREW" value="CREW"/>
<element name="TOTAL_REVENUE_YTD" value="G_REVENUE_DETAILS.TOTAL_REVENUE_YTD_C" function="SUM()"/>
<element name="TOTAL_DIRECT_COST_YTD" value="G_EXPENDITURE_DETAILS.TOTAL_DIRECT_COST_YTD_C" function="SUM()"/>
<element name="HOUR_YTD" value="G_EXPENDITURE_DETAILS.HOUR_YTD_C" function="SUM()"/>
<group name="G_REVENUE_DETAILS" source="Q_REVENUE_DETAILS">
<element name="TOTAL_REVENUE_YTD_C" datatype="NUMBER" value="TOTAL_REVENUE_YTD"/>
</group>
<group name="G_EXPENDITURE_DETAILS" source="Q_EXPENDITURE_DETAILS">
<element name="TOTAL_DIRECT_COST_YTD_C" datatype="NUMBER" value="TOTAL_DIRECT_COST_YTD"/>
<element name="HOUR_YTD_C" datatype="NUMBER" value="HOUR_YTD" />
</group>
</group>
</group>
</group>
I am trying to calculate SUM for 'TOTAL_REVENUE_YTD', 'TOTAL_DIRECT_COST_YTD' fields at a higher level (i.e. Child and Parent Org level containing multiple projects). I tried accessing them like
<element name="TOTAL_REVENUE_YTD_C" value="G_DETAILS.TOTAL_REVENUE_YTD" function="SUM()"/>
<element name="TOTAL_DIRECT_COST_YTD_C" value="G_DETAILS.TOTAL_DIRECT_COST_YTD" function="SUM()"/>
using the group name G_DETAILS. But, I am not able to get the sum of all entries (i.e. grand child of current group). I also tried using SUM() with <group1>.<group2>.elementname to get grand-total of all grand child. But, its not working.
Please suggest how to calculate totals for grand-child.
Thanks in advance
RathnamTry by creating a formula like this :
Whileprintingrecords;
Col1 + Col2 + Col3 + Col4 -
Wrong SSAS Grand Total Value Monthly Value base on Weekly Value
Dear All,
I Have calculated measures in my cube base on Weekly and Base on Monthly and different
Template Base .
For grand Total Weekly is fine but for Monthly is bad one.
Say calculated Measure Name "Weekly" with Syntax
CREATE MEMBER CURRENTCUBE.[Measures].[Weekly]
AS IIF(isempty([Measures].[Actual Quantity MTD]) or [Measures].[Actual Quantity MTD]=0 or isempty([Measures].[Original Plan Quantity MTD]) , null ,
IIF([Measures].[Original Plan Quantity MTD] =0 or isempty([Measures].[Original Plan Quantity MTD]),null,
IIF(
([Measures].[Actual Quantity MTD]-[Measures].[Original Plan Quantity MTD]) > 0 , 1 ,[Measures].[Actual Quantity MTD]/ [Measures].[Original Plan Quantity MTD] )))
The Result is good
here the picture
http://hpics.li/9fd22f2
https://drive.google.com/open?id=0ByY5H-XcydgiWGp0RzdWYWp0M2c&authuser=0
and for Monthly Calculation it was AVG of Weekly base on Time, Plant, and PSL Dimension
My calculated Monthly Measure Name "Monthly" with Syntax
CREATE MEMBER CURRENTCUBE.[Measures].[Monthly]
AS AVG (
DESCENDANTS([PSL].[PSL Description])*
DESCENDANTS([Plant].[Plant])*
DESCENDANTS([Finish Date].[Calendar],[Finish Date].[Calendar].[Month Year])
, AVG(([Finish Date].[Calendar].CURRENTMEMBER.CHILDREN), [Measures].[Weekly]))
The Result is Bad on Grand total
here the Picture link
http://hpics.li/5233b50
https://drive.google.com/open?id=0ByY5H-XcydgicEhtT1FpekRsbW8&authuser=0
Please help me why for the Result doesn't same. What do i Miss
Thank You
YanHi Yan,
According to your description, you create a calculated measure in your cube, the problem is that grand Total for Monthly is incorrect, right?
In your scenario, the issue can be caused by that you used "*" and "/" in your calculated measure. In SSAS, one of the most common issues faced in mdx is grand total or sub total not coming properly when some arithmetic operations like
measure1 [* or + or - or /] measure2 is used, please refer to the link below to see the details.
http://vnu10.blogspot.jp/2011/01/mdx-grand-total-sub-total.html
Regards, -
SAP query in Grand Totalling in SQ01 wrongly calculation
Dear All,
I have created a SAP query for getting few ledger accounts data in the clients specified format.
But I am having a problem, that debit and credit amounts are getting added in the 'Total' field.
The credit amounts are not getting substracted from the debit amount.
For eg :
CoCd G/L Year DocumentNo Amount in LC Crcy D/C
1000 4071101020 2007 9600000002 3,300.00 H
1000 4071101021 2007 9600001413 40,000.00 S
1000 4071101022 2007 8000000000 2,020,012.80 H
Grand Total 2,063,312.80
Where as total should be -1,983,312.80, where 'H' is credit and 'S' is debit.
rgdsHiya,
You may need to:
1. Either group by the Debit/Credit Indicator (SHKZG), create two subtotals for each and then subtract one from the other, or,
2. Multiply the Credits by -1 (again use the Debit / Credit Indicator to sort this for you) and then get a total field.
This is an inbuilt problem with queries (SQ01, SQVI, etc.).
Cheers. -
In our database we 've data for a lot of departments. The department number is in almost every table part of the key. Each department has shops
In the login initialization block we decide which department we want to see information of.
When I make a small request eg. shop, turnover, I see all the shops from the department initialized in the ini. block.
But, when we want to make a grand total (in the same request) by pressing the summation sign on top, this grand total is the sum of all shops of all departments together. (not the only one department which is selected in the initalization block)
Is this a BUG?Could you add dept =(dept from init block) in the fact table LTS content tab and see?
-
RE Invoice Grand total plus extra percentage
Hi expert,
Does anyone know how to put 1% charges on Invoice grand total? I'm using classical Real estate module.
Appreciated your help.
Thank you in advance,
MahyuddinHi Franz,
We are rental & utility service provider which begin Feb 2012 the management decide to include extra 1% charges on grand total (per invoice) as part of government contribution (not as gov service tax) to tenant. Therefore, that extra 1% must hit another G/L account (except current setting in account determination);
example;
Invoice 8xxxxx
1.00OY0201.02 240 M3 x 0.49 117.6 MYR
2.0AC02341.01 150 M3 x 0.13 19.50 MYR
Total 137.1 MYR
1% (Contribution) 1.37 MYR
Grand total 138.47 MYR
1. How to config extra 1% charges?
2. How to config that particular G/l and it becomes work like other account determination setting
3. Any suggestion?
Thank you for your kindness in advance.
Mahyuddin
Edited by: Muhd Mahyuddin Zakaria on Jan 22, 2012 2:25 AM -
So I am calculating the % change between two Quarters with the following formula:
((Current Qtr / Prior Qtr) -1) *100
my rows are calculating correctly but my column's grand total does a sum and it isn't correct. How can I get my grand total to calculate similar to my rows in my table?Hey Lacey - I followed your instructions and am able to calculate the correct total % change:
((SUM(Current Qtr) / SUM(Prior Qtr)) - 1) * 100
That is now displayed in it's own column (or I can hide it and don't see it at all). How do I get that value to display in the grand total of the standard % change column?
Thanks!
Maybe you are looking for
-
Playback just stops by some reasons
Hi, can I inform, playback just stops by any unclear reason, didin't autoadvancing, so I manually turning next track, its this bug & well-known thing? Board is Windows 8.1 64-bit, client is latest, 1.0.10.107.gd0dfca3a. Also can I do one suggestion j
-
From program to know the transaction code
Hi all, How to see/know the transaction code from SE38? or any other methods to know if we know only program name not known t.code? early reply highly appriciated/awarded. Soma
-
I used to be able to search for movies by decade on my iPad. I could get a list of each decade, say 1940s, 1950s etc displaying as a list.. I can no longer find this search. Has this feature gone away in iOS 6.1.3?
-
The toolbar for my webroot account will not install on firefox for some reason. It remembers my accounts and passwords along with the sign in pages of my accounts.
-
Hi, I am a newbie at LabVIEW and have no idea where to begin but I have a task assigned that I need to finish. I am asked to develop a part detection algorithm via the setup of different types of sensors. Basically with sensors' output information, t