Grand total on table with variance
!http://img17.imageshack.us/img17/4070/resulta.jpg!
hi, I set the column formula of variance to be: ("Current Value" - "Last Value) / "Last Value" * 100
when I enabled the "grand total" of the table, it gives the grand total of variance = 0%.
but actually it should be 3.3%
how to achieve my goal.
thank you very much!
("Current Value" - "Last Value) / "Last Value" * 100.00
Change "100" to "100.00"
Similar Messages
-
Inserting a Grand Total on formulas with variables
Post Author: MikeA-ICE
CA Forum: Formula
I'm working on a subreport that displays the amounts of items 1-4 in the details band. They contain a quantity and I am performing a calculation where I multiply the quantity of those items by the total of the main report. The main report passes its Grand Total to the subreport via the "Store/Fetch" function and the calculation works perfectly. However, when I try to get a Grand Total of those items, that option isn't available. I tried to build a standalone formula to do this (SUM (Markup$) but it didn't work. How can I get the total value of items 1-4 so I can send it back to the main report to do more calculations on?
Thanks for the help,
Mike
Edit - (per the Forums Usage Tips)
Crystal 11 (11.0.0.1994)
Latest Monthly Hot Fix installed
Windows Vista (Business Edition)
Access DatabasePost Author: MikeA-ICE
CA Forum: Formula
Thanks Jagan. I'll check that out. I've been using the Store/Fetch function for years and it works well. My problem is generating a total to send back to the main report. Basically, I'm trying to send a value from the main report to the subreport to use in a calculation, then send send the total of that calculation back to the main report from the subreport. But I can't get Crystal to allow me to insert a subtotal on the 1st calculation in the subreport. -
When Requested for a Grand Total the column values changes to zeroes
Hi,
I have a report with 2 dimensions and 4 facts. The report is showing the correct data when compared with EBS, but when we are applying grand total in Table View then for fact values are displaying zeroes. However the grand total is correct but for some dimensions the measures are displaying zeroes.
At this point i have modified the Aggregation rule of 1 measure from Default to SUM and when i clicked results Wonder, i can see grand total and the zeroes were replaced with actual values. When i have compared logical queries before applying the aggregation and after, the measure is surrounded with function REPORT_AGGREGATE and REPORT_SUM respectively.
Can anyone explain me why is this behavior occurred, i got the solution but i am not in stage to explain to client why it happened.
Kindly help and i will make sure it is definitely marked.Re: Bottom Line Grand Total
Use the Subtotal function instead of the Sum function for all totals.
The Subtotal function ignores other Subtotal functions in the column you are summing.
Your three "Sum" functions would look something like...
=SUBTOTAL(9,J3:J7) '300
=SUBTOTAL(9,J8:J14) '900
=SUBTOTAL(9,J3:J14) '1200
'--- Info
1 AVERAGE
2 COUNT
3 COUNTA
4 MAX
5 MIN
6 PRODUCT
7 STDEV
8 STDEVP
9 SUM
10 VAR
11 VARP
Jim Cone
Portland, Oregon USA
free and commercial excel programs at...
https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2 -
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 -
I have two facts : Income & Forecast
I have two dimensions : Date & Organisation
I have a report for 2007 that shows the following data:
Week Income Forecast
Week1 100 100
Week2 100 100
Week3 100 100
Week4 100 100
Week5 100 100
GTotal 10000 10000
I know that the grand total is wrong as I have NOT selected the report based total, so it is totaling for all years, not the year that I have filtered for.
When I change to report based totals I get:
Week Income Forecast
Week1 100 0
Week2 100 0
Week3 100 0
Week4 100 0
Week5 100 0
GTotal 500 0
The foreign keys and joins for income and forecast are the same.
Any ideas ?
RossYour forecast values rollup properly if you do not have the grand total? Add another criteria which would basically do the summation of the forecast and the amount values(add filters depending on what you have in the first criteria). Combine it with the first criteria using union all. Check whether this produces your output properly(if the grand total gets interspersed with the data, add some logic to make it appear at the place you want). This will help us understand where it is going wrong.
Thanks,
Venkat
http://oraclebizint.wordpress.com -
Grand total in Pivot Tables with Paging
I could help with this issue please
when we apply paging PivotTables there a way to show Grand total all pages, and I've noticed that the Grand total vee only when the last page or show all results at once.
For me it is important to see the Grand total on every page.
Thanks in advance for your cooperationIf you're not talking about printing, then you can do this:
1) Instead of using the same pivot table that you created for details to also display the Grand Total, first paginate the pivot table. Look here:
Re: Pivot table
In your pagination, break your pivot table in groups such that you can see a small enough chunk without having to scroll too much.
2) Now that you have a manageable size pivot table, create the Grand Total as another pivot table. Take out all the attributes that break the total in detail and leave only what will give you the Grand Total.
3) Add this pivot table to the bottom of your detail pivot table in step 1. This will give you the grand total right underneath each page of your detail pivot table without having to go all the way to the end of the report. -
Advanced Table with Grand Total
I have an advanced table created at the design time with property "Records Displayed" is set to 10. That means, i can able to see 10 records at a time. i have click on Next "Next 10" link to see the next 10 records. i have created a footer with Total. it is showing the sum of the column for the 10 records at a time. Every time i click on "Next 10" , it shows the next 10 records and give me total for current 10 records.
My requirement is show the grand total in the footer. is there any simple setup to show the grand total instead of current page total ? Can i replace the current page total with grand total ? if so, how can i get the handler for the total ?We have not implemented this functionality but OAF Dev guide [11.5.10.2] has this info.
Control Total Value Generation
To bypass OA Framework's mechanism to control the value generation for a table column footer so you can
provide your own value such as a percentage, set the
oracle.apps.fnd.framework.webui.OAWebBeanConstants TABULAR_FUNCTION_VALUE_ATTR on the
appropriate table column. This overrides OA Framework's internal behavior of footer value generation. Like all
web bean attributes, you can data bound this attribute if required.
Sample usage:
OAAdvancedTableBean advtableBean = ...;
OAMessageStyledTextBean salaryBean = advtableBean.findChildRecursive(...);
String formattedTotal = ...;
*// compute the total*
salaryBean.setAttributeValue(TABULAR_FUNCTION_VALUE_ATTR,formattedTotal);
or:
salaryBean.setAttributeValue(TABULAR_FUNCTION_VALUE_ATTR,
new OADataBoundValueViewObject(...));
Grand Totals
Declarative or programmatic support for Grand Totals is currently not available in advanced tables. To
implement grand totals, you must build your own layout below the advanced table in accordance with the
Oracle Browser Look-and-Feel (BLAF) Guidelines: Tables: Grand Totals [OTN version]. Use the
messageComponentLayout region style to build this layout. In addition, you must programmatically provide the
values for the grand total fields. Since these fields are like any other form fields, you can first calculate the
grand total value in your controller code by looping through the entire view instance row range, and then call
setText() for the grand total field to set it with the calculated grand total value.
Hope this helps.
--- Thanks -
Hi,
I have a Report for GL Reconciliation and it shows Source System Balances and GL Balances along with the Variance in these two and % Variance.
Sample data is as follows:
Year Month SYS Source System Bal GL Balances Variance % Variance
2010 MAY A 66,100,676,002 60,994,246,811 -5106429191 -8.37%
2010 MAY B 29,081,192,665 29,066,650,415 -14542249.78 -0.05%
2010 MAY C 218,856,115 212,416,688 -6439426.71 -3.03%
2010 MAY D 14,601,939 -100.00%
2010 MAY E 808,716,681 822,453,990 13737309.05 1.67%
2010 MAY F 5,874,200,259 6,856,456,401 982256141.3 14.33%
2010 MAY G 2,181,160,124 2,164,379,222 -16780901.26 -0.78%
2010 MAY H 10,505,609,797 23,529,905,894 13024296097 55.35%
2010 MAY I 1,566,030,457 1,565,502,039 -528418.48 -0.03%
2010 MAY J 1,479,284,089 100.00%
2010 MAY K 10,939,680,559 7,481,930,011 -3457750548 -46.21%
2010 MAY L 8,774,737,817 8,831,160,339 56422521.84 0.64%
2010 MAY M 1,117,717,954 548,331,847 -569386106.3 -103.84%
2010 MAY N 73,670,961 55,680,430 -17990531.39 -32.31%
2010 MAY O 4,583,263,229 4,562,122,752 -21140477.19 -0.46%
2010 MAY P 204,382,965 206,288,734 1905768.97 0.92%
2010 MAY NULL 332,763,879 100.00%
MAYTotal 142,044,497,524 148,709,573,543 6665076018 4.48%
Now This is how the Report will work as Normal...
What the user wants is Instead of Variance he wants to see the Absolute variance. So If I run absolute function on This Column, I will get following results:
ABS(Variance)
5,106,429,191
14,542,250
6,439,427
13,737,309
982,256,141
16,780,901
13,024,296,097
528,418
3,457,750,548
56,422,522
569,386,106
17,990,531
21,140,477
1,905,769
6665076018 --- -This Total is Incorrect as it is showing only the Absolute value to the Total, where as it should be More than this and to achieve this, I changed the Aggreegation Rule to SUM
to Get the correct sum of the figures mentioned ablove which will show following output:
ABS(Variance)
5,106,429,191
14,542,250
6,439,427
13,737,309
982,256,141
16,780,901
13,024,296,097
528,418
3,457,750,548
56,422,522
569,386,106
17,990,531
21,140,477
1,905,769
23,289,605,688
Now Till this point everything is correct and can be achieved. The problem is with the % Variance:
Bydefault % Variance ( Calculated using Variance/GL Balances )*100 Is as follows:
% Variance
-8.37%
-0.05%
-3.03%
-100.00%
1.67%
14.33%
-0.78%
55.35%
-0.03%
100.00%
-46.21%
0.64%
-103.84%
-32.31%
-0.46%
0.92%
100.00%
4.48%
But the Users wants that The % variance be calculated on Variance Column and GL Balances Column ( Variance/ GL Balances)*100
But the Grand Total values at the bottom should be based on ( Grand Total of ABS(Variance)/ Grand Total of GL Balances ) *100
to get the Desired results as :
% Variance
-8.37%
-0.05%
-3.03%
-100.00%
1.67%
14.33%
-0.78%
55.35%
-0.03%
100.00%
-46.21%
0.64%
-103.84%
-32.31%
-0.46%
0.92%
100.00%
15.66%
(23,289,605,688/1,48,709,573,543)*100
If someone can help me with this...
Edited by: help-required on Oct 1, 2010 1:14 AMOK, there are a couple of things that have to be pointed out before getting to the actual problem. First of all, the column you named "Variance" is not a variance, but a "difference" and should be labeled as such. Second, what is the variance you are trying to calculate?
If the variance is from the "Source System Bal," then the calculation is ("GL Balances" - "Source System Bal")/"Source System Bal"
If the variance is from the "GL Balances," then the calculation is ("Source System Bal" - GL Balances")/"GL Balances"
You have ("GL Balances" - "Source System Bal")/"GL Balances" so do you know what you are measuring? Make sure you get this part right first. Now on to the issue itself.
This is the point of confusion with some I think: you want the individual rows of the "% Variance" column to display the +actual+ variance, positive or negative, but in just the total at the bottom, you want the "% Variance" to reflect the "absolute values of the differences, summed, and then divided by the GL Balances."
You can't have two different calculations on the same column like that, one for the rows and a completely different one for the total.
Here's a workaround. Uncheck the "totals" for the pivot table completely and just show the rows. (Make sure you change the name of the "Variance" column to "Difference" or something similar.)
Now create another pivot table view, but take out all the attributes so the measures sum up. Add an additional column called "ABS % Variance" and make this calculated column (do this in Criteria in the fx of a "dummy column"):
(ABS("GL Balances" - "Source System Balances")/"Source System Bal")*100.00
Don't forget to change the data format to "percentage."
Now place this pivot table view directly below the one with the individual rows. You should now have what you are looking for.
Edited by: David_T on Sep 30, 2010 10:58 AM -
OBIEE 10g - Unable to see data in the report view with grand total applied
Hi,
We're facing with a strange issue.
We're working on a report view.
We're able to see data when Grand total is not applied on the report. The moment Grand Total is applied, it's showing either an empty table with NULL values or "No Results" page.
Please help.
Thanks in advance.
-RamaHi Dpk,
Thanks for your reply.
I included it in the instanceconfig.xml, but the issue still exists.
Couple of Observations
#1 - We noticed this issue when we drill down to the level which has really sparse data.
It works fine when we look at the enterprise wide report.
#2 - Works fine with few dimensional attributes and facts on the report
When we add a fact that doesn't have any value at that level, the issue starts to appear.
Thanks in advance.
-Rama -
Grand total values are not matching with Detail report
Report has grand totals and when I drill to the detail report, grand total values are NOT matching with parent report totals, I did some analysis but I'm clueless on this issue.
Please provide your thoughts and insight on this issue..
Thanksis 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? -
How to add one column value with grand total
hi,
this is my perform.i am just here multipling menge and gpres value and stores into G_total variable and displing into output.
this is my output in main window.
ex:mat. 1 77.00(g_total value)
mat 2 55.00(g_total value)
now the requirement is to add the column and display the output as grand total ex: 77.00 +55.00 = 132.00
how to do the syntax please help me......???
FORM get_total TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
DATA: lv_menge(20),
lv_gpreis(20),
g_total(20),
g_total1(20).
DATA:lc1 TYPE string,
lc2 TYPE string,
ls_tab TYPE itcsy,
l_tabix TYPE sy-tabix.
READ TABLE in_tab WITH KEY name = 'RESBD-MENGE'.
IF sy-subrc EQ 0.
lv_menge = in_tab-value.
ENDIF.
READ TABLE in_tab WITH KEY name = 'RESBD-GPREIS'.
IF sy-subrc EQ 0.
lv_gpreis = in_tab-value.
ENDIF.
REPLACE ',' INTO lv_gpreis WITH ''.
CONDENSE lv_gpreis NO-GAPS.
READ TABLE out_tab WITH KEY name = 'G_TOTAL'.
IF sy-subrc EQ 0.
g_total = lv_menge * lv_gpreis.
out_tab-value = g_total.
CONDENSE g_total.
lc1 = g_total+0(2).
lc2 = g_total+2(3).
CONCATENATE lc1 lc2 INTO g_total SEPARATED BY ','.
out_tab-value = g_total.
CLEAR ls_tab.
LOOP AT out_tab INTO ls_tab.
l_tabix = sy-tabix.
CASE ls_tab-name.
WHEN 'G_TOTAL'.
ls_tab-value = G_TOTAL.
MODIFY out_tab FROM ls_tab INDEX l_tabix.
ENDCASE.
ENDLOOP.>
asissahu wrote:
> hi.
>
> nobody is replying my question???
>
> please help me
Hi, Asissahu
Because may be some one have problem to read your code
Please have a look at the following link and past code this way.
[How to post code in SCN|How to post code in SCN, and some things NOT to do...;
@Naga Please you too
Regards,
Faisal -
% 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 -
Question regarding adding sums in 3 tables for a grand total
Can someone please help me with this. I have the coding in the tables to add table 6, 7, and 8 but each time I add or delete a row the coding gets messed up. It is adding in some places but not on each row. I don't know the coding to use to avoid this problem everytime you add or delete a row. I just need all tables to add up for a grand total.
If this is the resultyou are looking for the attached will help.
Steve
Please post LiveCycle Designer ES questions in that forum in the future. -
Problem with Grand total in Crystal report xi
Post Author: eshwar_polawar
CA Forum: Crystal Reports
Dear all,
I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
My report design as follows
Report Title
Page Header section:
charged date fee_ description charge_ amount currency_code
Group Header #1(Group by bank_ref)
Group Header #2(Group by Currency code)
Details
charged date fee_ description charge_ amount currency_code
Group Footer#2
(Sub Total )
Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
Report footer:
Sum of (charge_amount) currecy code
Example of data:
charged date fee desc chrage amount currencycode
0000000060129
CAD
10-Oct-2007 Transfer 200 Cad
11-Oct-2007 comm 150 cad
Sub total 350 Cad
0000000060129
CAD
10-Oct-2007 Transfer 100 USD
11-Oct-2007 comm 150 USD
Sub total 250 USD
Grand total should 350 CAD but it is showing all total amoun 1000 CAD ,Group by Curreny code in the table
250 USD but it is showing all total amount 1200 USD
Please provide the solutions like:
1).About Running total in Report footer section
2).Formula on While printing records for grand total
3).How will send links with subreports
Thanks and Regards
EshwarPost Author: eshwar_polawar
CA Forum: Crystal Reports
eshwar_polawar:
Dear all,
I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
My report design as follows
Report Title
Page Header section:
charged date fee_ description charge_ amount currency_code
Group Header #1(Group by bank_ref)
Group Header #2(Group by Currency code)
Details
charged date fee_ description charge_ amount currency_code
Group Footer#2
(Sub Total )
Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
Report footer:
Sum of (charge_amount) currecy code
Example of data:
charged date fee desc chrage amount currencycode
0000000060129
CAD
10-Oct-2007 Transfer 200 Cad
11-Oct-2007 comm 150 cad
Sub total 350 Cad
0000000060129
CAD
10-Oct-2007 Transfer 100 USD
11-Oct-2007 comm 150 USD
Sub total 250 USD
Grand total should 350 CAD but it is showing all total amoun 1000 CAD ,Group by Curreny code in the table
250 USD but it is showing all total amount 1200 USD
Please provide the solutions like:
1).About Running total in Report footer section
2).Formula on While printing records for grand total
3).How will send links with subreports
Thanks and Regards
Eshwar -
Hi, I have a pivot table with several measures and grand totals. The problem is that there is one measure where the totals show up incorrectly. By incorrectly I mean that this shouldn't be sum of rows, but a different calculation and I haven't found a way to define separate calculation for this total.
Is there a way to hide totals for this one measure? Or is it still somehow possible to use some different value/calculation in there?In the Pivot Table I'm currently using sum, because I'm combining different queries with union. In the actual query these values are calculated by row using Count Distinct. Now in the total it just sums up individual Count Distinct values but the correct value should be Count Distinct for total data set.
Maybe you are looking for
-
MSI KT3 Ultra-ARU with GeForce 4 Ti 4200
Umm... My PC keep freezing when I play a 3D Game like Warcraft III, GTA 3 or Neverwinter Nigths. Sometimes it's freezing after 2 mins, sometimes I can play like a half hour. When it's freezed, Windows don't work either so the whole comp is messed up
-
Droid Bionic the most expensive Brick I've ever purchased
I just want to know when in November this update is going to happen. This is almost worse than the gingerbread nightmare. I had a Droid2 which worked up until the Gingerbread update, then I purchase a "not-ready-for-primetime" Droid Bionic. It took 6
-
Cannot install iTunes 8. Requres QuickTime
I'm attempting to install iTunes 8 on a Vista 32 PC. I can download the software, Run the installer, get the "Welcome to iTunes etc, the license page, the options page. Then I get the following message "The installation of Quick Time did npt complete
-
Hi All, I am working with a script in which i have to copy the script from another and make changes. I am working on client 10 and i have to test data in client 50. I have copied the original script from client 10 and made changes. Now how to move th
-
RJVM has already been shutdown error while looking upto Foreign Server
Hi, I am trying to set up 2 new servers in a clustered environment. In this I have configured a Foreign Server which is looking up to queues in different server. The structure is like this: 1 Foreign Server with 2 Queues and 1 Connection factory with