total general on table with variance
! http://img17.imageshack.us/img17/4070/resulta.jpg!Hi, I set the formula for the variance column to: ("current value" - "last value) /"Last value"* 100
When I activated the 'total' of the table, it gives the total variance general = 0%.
but in fact it should be 3.3%
How to reach my goal.
Thank you very much!
("Current value" - "last value) /"Last value"* 100.00
Change "100" to "100.00".
Tags: Business Intelligence
Similar Questions
-
Newbie Question: How can I add a Total general of my columns in a PivotTable?
Thank you-
Charlie EPEs
Buffalo, NYHi Charlie
Click on the pencil icon to edit the PivotTable, and then click the sigma symbol icon to add the total general. You can do so for lines or columns.
Please close the thread and the price point if this helped you.
Paul
-
How to view the total general to IR
Hyperion IR: 9.2
Good in my results to my query section, my table shows total general of my column in the middle (3 in total). Pretty easy.
However when I create the report and display the table, I want that the grand total of the column in the Middle, but it does not show the total general (dimension table) unless it's a fact table - that positions itself in the last column, not in the middle.
How can I go about it?
THX.Layout your facts and Dimensions of the table. By default the facts appear to the right even if the Dimensions are added after the fact.
Then, click your mouse in the data part of the fact, and it will highlight. Then click and drag the column to the position where you would like.
Hope that helps
Wayne
-
Display Total table with 3 decimal places
Hi people,
I wanted to display table Total for a column in the table with 3 Decimals.I have used the code below to set to 3 decimal places, but his does not work.
In the application process:
Formatter formatter = new OADecimalValidater ("#, ##0.000;(#,##0.000)","#, ##0.000;(#,##0.000)");
OAAdvancedTableBean expTable = (OAAdvancedTableBean) webBean.findIndexedChildRecursive ("ExpenseDtlsRN");
If (expTable! = null) { OATableFooterBean footerBean = (OATableFooterBean) expTable.getFooter (); System.out.println ("footerBean:" + footerBean); If (footerBean! = null) { OATotalRowBean totalRowBean = (OATotalRowBean) footerBean.getTotal (); System.out.println ("Formattotal:" + totalRowBean); totalRowBean.setAttributeValue (ON_SUBMIT_VALIDATER_ATTR, trainer); } } Please help me I need very urgent.
Hi people,
I found the solution
Formatter formatter = new OADecimalValidater ("#, ##0.000;(#,##0.000)","#, ##0.000;(#,##0.000)");
OAColumnBean ocb = (OAColumnBean) webBean.findChildRecursive ("column29816"); ocb.setAttributeValue (ON_SUBMIT_VALIDATER_ATTR, formatter); It worked for me
-
Exclude a measure the total general dynamic level 'Lines' of a pivot table
Experts,
Is it possible to exclude a measure the total general dynamic level 'Lines' for a pivot table?
Version - OBIEE 10g
Kind regards
LIBERATORNo, I mean not the dropdown list above when you edit the formula in the column. It of there on 11g but don't remember off the top of my head if it is in the same place on 10g.
Paul
-
Hello
I have an example of a query like this, can't expose the names of actual table I have security problems.
Select empno, count (empno) in the emp_table1 where certain conditions
Union of all the
Select empno, count (empno) in the emp_table2 where certain conditions
Union of all the
Select empno, count (empno) in the emp_table3 where certain conditions
Union of all the
Select empno, count (empno) in the emp_table4 where certain conditions
I get the result as below, no matter what.
Output
----------
EmpNo County
----------------------
Emp1 15
EMP2 12
Emp3 10
EMP4 6
Emp5 4
emp6 7
emp7 12
emp8 14
but finally, I should get a special register, displaying the total general as
emp_total 80
How can get this.please provide
Since I don't have access to your data, a simple way to show CUMULATIVE would be this.
WITH T1 (C1, C2) AS)
SELECT "emp1", 15 OF DOUBLE UNION ALL
SELECT "emp2", 12 OF DOUBLE UNION ALL
SELECT 'emp3', 10 OF DOUBLE UNION ALL
SELECT "emp4", 6 OF DOUBLE UNION ALL
SELECT "emp5", 4 OF DOUBLE UNION ALL
SELECT 'emp6', 7 OF DOUBLE UNION ALL
SELECT 'emp7', 12 OF DOUBLE UNION ALL
SELECT 'emp8', 14 FROM DUAL)
SELECT NVL(C1,'EMP_TOTAL'), SUM (C2)
FROM T1
ROLLUP GROUP (C1);
OUTPUT:
Emp1 15
EMP2 12
Emp3 10
EMP4 6
Emp5 4
emp6 7
emp7 12
emp8 14
EMP_TOTAL 80
-
Gears - error when you try to insert values into a table with multiple columns
Hello
I started playing with the gears and SQlLite today and I get an error when I try to insert values into a table with multiple columns.
I have:
var db = google.gears.factory.create('beta.database'); db.open('developerSet'); db.execute('create table if not exists Developers (DeveloperName text, DeveloperAge int)'); var devName = "Davy" var devAge = 32; try { db.execute('insert into Developers values (?, ?)', [devName, devAge]); alert('success'); } catch (e) { alert(e); }
I get the error:
net.rim.device.api.database.DatabaseException; insert into developers values (?,?): SQL logic error or missing database.
I use this reference: http://code.google.com/apis/gears/api_database.html
Everything works if I have only one field as:
var db = google.gears.factory.create('beta.database'); db.open('developerSet'); db.execute('create table if not exists Developers (DeveloperName text)'); var devName = "Davy" var devAge = 32; try { db.execute('insert into Developers values (?)', [devName]); alert('success'); } catch (e) { alert(e); }
I use the plug-in Visual Studio 2.0 for 2008 that are running Windows XP SP and Simulator 2.13.0.56
Thank you
Davy
Yes, a SQLite database will persist between battery pulls. The database is registered either to internal MEM or removable media (not the device memory), depending on which is available on your device.
In general, its not considered a best practice to remove your table as soon as it is empty and re - create it again when you want to add data. This adds extra overhead fresh for the final, delete and insert first for a given table. Instead, define and finalize your drawing before you create your table. Once created, review the static schema.
That being said, for development purposes, it may be easier to provide an easy way to drop your tables while you develop your schema.
See you soon,.
Adam
-
Huge table with PDF (1.4 TB) be stored outside the database
We have a table with BLOB where a PDF one stored. Now, we want to bring these data from the database (backup reaseans etc..).
Any solution? Maybe a total another data store - stuff 'BIG DATA '?
Thanks - regards
Oliver
If some give me a solution for a way to store PDF files outside the database.
If you want to store the PDF file outside the database, then there are usually two approaches.
(1) in the database, there is a table that stores the name of the file and the location on disk of the PDF. The written application the PDF file in the file system and then updates the database with the location and the name of this PDF file. If the application must Access the PDF, it looks up info in the database and then retrieve this file. The application must be able to read and write to the disk outside the database.
(2) use such BFILE as mentioned previously.
In both cases, your PDF documents is stored outside the database, but in my opinion, this does not eliminate the need for backups. If these PDF are lost, and there is no backup, then the data are lost. Because its outside of the database, a database backup backs up only data. The backup may be different and however different backup method is used. But I've seen cases where the db backup was performed at a given time and the binary backup was done at another time and restoration, there were inconsistencies that needed reconciliation.
HTH,
Brian -
Update a table with primary key
Hello
I have a table called Temp
CREATE TABLE TEMP ( A VARCHAR2 (50 CHAR), B VARCHAR2 (50 CHAR), C VARCHAR2 (50 CHAR), D VARCHAR2 (18 CHAR), E DATE, F NUMBER, G VARCHAR2 (18 CHAR), H FLOAT );
The primary key is the PRIMARY KEY: (A, B, C, D, E, F, G).
I HAVE THE TEMPORARY TABLE 48052365 COUNTY,
HOWEVER I HAVE A REQUIREMENT TO UPDATE WHERE E (COLUMN) IS WEDNESDAY, THE SAME DAY IN MONDAY (I.E., C - 2 TO EXISTING DATE)
Approach;
I CREATED the TABLE TEMP_WED_TO_MONDAY AND SELECTED ALL THE RECORDINGS ELIGIBLE IN CE AND TABLE AND INDEX UNIQUE CREATED on this SUBJECT. TO UPDATE, I WROTE UNDER ANONYMOUS BLOCK.
Number of Tables: TEMP_WED_TO_MONDAY is 46,921,912 and count of total of the table is 48052365
Anonymous block:
DECLARE CURSOR UPDATE_TEMP_DATE IS SELECT A, B, C, D, E, F, G, E - 2 NEW_E FROM TEMP_WED_TO_MOONDAY; TYPE UPDATE_TEMP_DATE_REC IS RECORD ( A VARCHAR2 (50 CHAR), B VARCHAR2 (50 CHAR), C VARCHAR2 (50 CHAR), D VARCHAR2 (18 CHAR), E DATE, F NUMBER, G VARCHAR2 (50 CHAR), NEW_E DATE ); TYPE UPDATE_TEMP_DATE_TBL_TYPE IS TABLE OF UPDATE_TEMP_DATE_REC; UPDATE_TEMP_DATE_TBL UPDATE_TEMP_DATE_TBL_TYPE; BEGIN OPEN UPDATE_TEMP_DATE; LOOP FETCH UPDATE_TEMP_DATE BULK COLLECT INTO UPDATE_TEMP_DATE_TBL LIMIT 1000000; EXIT WHEN UPDATE_TEMP_DATE_TBL.COUNT = 0; FORALL I IN UPDATE_TEMP_DATE_TBL.FIRST .. UPDATE_TEMP_DATE_TBL.LAST UPDATE TEMP SET E = UPDATE_TEMP_DATE_TBL (I).NEW_E WHERE A = UPDATE_TEMP_DATE_TBL (I).A AND B = UPDATE_TEMP_DATE_TBL (I).B AND C = UPDATE_TEMP_DATE_TBL (I).C AND D = UPDATE_TEMP_DATE_TBL (I).D AND E = UPDATE_TEMP_DATE_TBL (I).E AND F = UPDATE_TEMP_DATE_TBL (I).F AND G = UPDATE_TEMP_DATE_TBL (I).G; COMMIT; END LOOP; CLOSE UPDATE_TEMP_DATE; END;
But for the past 6 hours, it only updated records 20,00,000(Twenty lakh) only. because this update in the table and is also part of the teaching primary key I think it takes time, but pointers to improve/acceleration of the update
Explain the plan:
update statement all_rows (Cost 4) 3 update hr.temp 2 table access by index rowid table hr.temp (Cost 4, Bytes : 64 ,Cardinality 1) 1 index range scan index hr.temp_wed_to_monday (Cost 3: Cardinality 1)
Thank you guys, I would be grateful if someone provides the solution for the scenario, rather than highlight the design. Please understand someone designed to best with whatever the limits it has during this period. (and this isn't me).
-
ALTER TABLE with the column NULL time consuming
Hello
I have a table with nearly 2 million documents (about 10 GB size table) when I perform the following change statement its run fast
ALTER TABLE tbl_1 ADD (DEFAULT col_4 NUMBER 100 NOT NULL);
but when I do not give the NOT NULL in the alter its taking a long time to complete this i.e tbl_1 of ALTER TABLE ADD (NUMBER col_4 by DEFAULT 100); once I do the column as NOT NULL.
Can someone explain why is it happening like that regarding the execution point.
Thanks in advance.
I can reproduce the effect in 11.2.0.1 - but not in 12.1.0.1.
drop table tbl_1;
create table tbl_1
as
Select rownum id
, lpad ('* ', 50,' *') padding
of the double
connect by level<=>=>
ALTER TABLE tbl_1 ADD (NUMBER col_4 by DEFAULT 100);
--> slow in 11.2.0.1; fast 12.1.0.1
ALTER TABLE tbl_1 ADD (DEFAULT col_4 NUMBER 100 NOT NULL);
--> Quick 11.2.0.1 and 12.1.0.1
A SQL trace for two operations (11g) shows that the altar slow (without the constraint explicit non-null) made explicit (and tedious) update of any row in the table:
Update 'TBL_1"set"COL_4"= 100
call the query of disc elapsed to cpu count current lines
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.02 0 1 0 0
Run 1 11,63 33.56 8336 1016125 2053531 1000000
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Total 2 11,63 33,58 8336 1016126 2053531 1000000
The other trace file does not contain the explicit Update. I guess in the optimized case that oracle stores somewhere that col_4 has the value 100 and updates only the line of the block after completing DML operations. But that's just a guess.
-
How to find the size of a table with CLOB
Hello
I have a table with CLOB as follows:
SQL > desc INFO_MESSAGES
Name Null? Type
----------------------------------------- -------- ----------------------------
CLNT_OID NOT NULL VARCHAR2 (16)
USR_OID NOT NULL VARCHAR2 (16)
LAST_client_msg_ID VARCHAR2 (36)
LAST_client_msg_DATE DATE
LAST_client_msg CLOB
LAST_USR_MSG_BOD_ID VARCHAR2 (36)
DATE OF LAST_USR_MSG_DATE
CLOB LAST_USR_MSG
Now I just want to find out what is the size/area total absorbed by the table (including the CLOB columns), so how can I find? I think that the usual command does not - the
Select format from dba_segments where nom_segment = "INFO_MESSAGES" is only showing 7 MB, while I think that the table has several GB of space due to the CLOB.
Also to add one more detail: when dba_segments seeking, I see a result like this:
Select * of dba_segments order by bytes DESC;
MIGRTN SYS_LOB0000111131C00008$ $ LOBSEGMENT SAMS DATA1 20690 6 1963 14528000 119013376000 <-the top row
MIGRTN this is the schema where this INFO_MESSAGES table is present.
Thanks,
OrauserN
you will need to add the segment_size of the LOB segments to the segment_size of the table. The connection between the two pieces of information you find in USER_LOBS (or the corresponding ALL_, DBA_ objects).
-
total general conditional... stuck
Hello
Would be really very grateful for the help with that I'm a little stuck.
I have a purchase order with different products, packaging and a total general. Total must be updated in any event nothing (if 2 packs are selected) of 5% or 10% (if three or more packages are selected).
I may be more complicated, but I've done so far is to create two hidden text boxes for ease of calculation.
(1) an area called "GRAND1" which adds up the amounts of packets
(2) an area called "GRAND2" which is a concealed total adds up all subtotals
Finally, there is an area called the 'GREAT' that is the visible large total area. I thought it would be easier to do it this way, but feel free to correct me.
As it supports the code that I work with is:
var x = this.getField("GRAND2").value;
var y = this.getField("GRAND1");
If (y = 2) event.value = x / 1.05;
Else if (y > = 3) event.value = x / 1.10;
ElseIf (y < 2) event.value = x / 1.
I'd love help, because I really have no idea what I'm doing... Sorry and thanks in advance
Use this:
If (there == 2) event.value = x / 1.05;
-
Fill a table with the results of the refresh groups
Hello world
I need a little help.
I'm working on an Oracle 10.2.0.4 on windows.
I have a table I created like this:
Table name: DIM_REPLICA
COD_SEZ VCHAR2 (2)
NOME_SEZ VCHAR2 (20)
FLAG TANK (1)
DATE OF D_REPLICA
This DB I have 210 discount groups running every night. I need fill this table with the results of the refresh groups.
So when the refresh for example called ROME group runs I need to write on the table the name ROME in the field "NOME_SEZ", a Y or N if the refresh Group has worked in the field of the INDICATOR and LAST_DATE refresh force ran into the field of the D_REPLICA. The COD_SEZ field is a code that I get other things. It is not necessary for the moment. I can add it myself on my own.
Can someone help me please?
I was looking on the tables SYS DBA_JOBS and DBA_REFRESH these data, but I don't know what to take and how to fill the table. Trigger? Procedure? Any help will be great!
Thank you all in advance!This forum is for SQL * PLus, questions and your question is about general issues Oracle. You will get a better response by posting your question in another forum - probably the General database instance.
Please close this thread and start over in another forum.
-
Hello
I add a total to the table view, there is no problem. It is written "Grant Total" as default.
and I click on "format of labels."
new window open,
I write new value 'TOTAL '.
and I get error EIRWWH9E
Please please notifyHello
Sound know a bug in obiee11.1.1.5.0 version and this problem has been corrected in OBIEE 11.1.1.6.0
BUG: 11772408 -ERROR XML IN a TABLE crossed DYNAMICS WITH TOTAL IN TRYING to LABEL formatting
check my oracle support:
OBIEE error: "bad Xml Instance! Error codes: "Eirwwh9e" when you change the label Total column Pivot [ID 1378892.1]Thank you
Deva -
In total, total general at pivot
Hello guys,.
I have a situation...
I use Pivot for a report (the reason being... I need data per month in sections...) ...
I need total for each article, so I used the button lines for a total sum of each section (once again the reason to be... If I had used the sum of Sections... it displays another article that "All sections" which is nothing but all clubbed entries in a single table... which is not desirable in my case)...
So I almost what I want... the only thing I would need is the total of all the totals at the bottom...
Can someone help me please... I tried many ways... but could not...Hello
As I've described above the Grand Total downstairs is a separate joint. In the report that I had joined earlier in the pivot at the bottom, I've included just the brand of column and the measurement in the pivot column. Here, create a calculated item in the column of the brand, put the formula as sum (*) and the name of the element calculated as the Total general. Then, select the option "Hide details" column of the brand. Also make the label hidden measure.
Thank you
Maybe you are looking for
-
My iphone will work correctly if I keep my Safari as your browser on this subject and I have Firefox as my browser on my laptop?
-
iMessage works do not for a single contact?
Hey everybody, I don't know if it happened to a lot of other people before (I'm looking for so long, but I don't see anything really on it exactly), but when I send messages to my contacts in a personal conversation, not to send my messages, and I ge
-
Search for available downloads not working not
iTunes 12.3.2.35 iPhone 6s 9.2.1 El Capitan 10.11.3 I downloaded apps on my iPhone, then I check for downloads available in iTunes and it tells me that I do not have. I am connected with the same ID on both devices. Any thoughts? Dave
-
Satellite L300 with WXP - cant write DVD
Hello I have the Satellite L300-1AQ (PSLB8E) with the original operating system Vista installed also, I have XP (Dual boot).The problem is with XP, I can't write DVD, when I go into windows Explorer, the drive is listed as a DVD - RAM drive, it seems
-
How to enable the mouse on my laptop satellite?
I have managed to disable my mouse last night in the dropdown menu that appears at the top of the screen.I was in Control Panel, but cannot find a way to reactivate! Any help is appreciated! Using the tab key is driving me mental!Thanks, Stu :)