How to create a pivot table similar to excel
I would like to learn how to create a pivot table, similar to excel, thanks.
Jmortiz
Numbers does not have pivot table function but can sort data, and summarize data. If you can provide an example of the data you want to analyze I am certain we can help you in building summary tables.
Similar Messages
-
Question on how to create a pivot table
Hi,
I am trying to create a dynamic pivot table (the number of column and row layers change for each request) and I cannot use a data base structure to back it up.
I thought of doing it through a managed bean but in order to do it I need to know how to create the PivotTableModel.
The pivot table model requires a data source object and I do not know how to create it to support multiple row and column layers.
Is there a default data source object that I can extend, or better yet is there a written example on how to create a pivot table model using a managed bean.
Thanks,
OrHi,
duplicate of ADF -11g : Question on how to create a pivot table -
ADF -11g : Question on how to create a pivot table
Hi,
I am trying to create a dynamic pivot table (the number of column and row layers change for each request) and I cannot use a data base structure to back it up.
I thought of doing it through a managed bean but in order to do it I need to know how to create the PivotTableModel.
The pivot table model requires a data source object and I do not know how to create it to support multiple row and column layers.
Is there a default data source object that I can extend, or better yet is there a written example on how to create a pivot table model using a managed bean.
Thanks,
Or
Edited by: user638363 on Dec 18, 2008 7:02 AMHi,
beyond the documentation, the pivot table is described in
http://technology.amis.nl/blog/2593/adf-faces-11g-reloading-the-matrix-using-the-pivot-table-component
http://technology.amis.nl/blog/3786/creating-a-salary-heat-map-with-the-adf-11g-faces-pivottable-component
http://technology.amis.nl/blog/3673/adf-11g-richfaces-a-closer-look-at-the-pivot-table-data-visualization-component
I am not aware of any sample that directly meets your requirement
Frank -
How to create a pivot table from backing bean
Hi,
I need to create a pivot table from backing without having to create a Data Control.
I searched a lot but all comes to a Data Control, and uses backing bean to manipulate data or to display popup info.
Kindly advice if it can be done.
Links and documentation is appreciated.
sample is highly recommended.
Thank you in advance
Emile BITARHi,
have a look at: http://www.oracle.com/technology/products/adf/adffaces/11/doc/multiproject/dvt/tagdoc/af_pivotTable.html
It should provide all the infromation you need
Frank -
How to create a Pivot table without aggregate function
Dear team
I have the following table. Follow the link to download SQL Script to create table
https://drive.google.com/file/d/0B5nQIsvTifixV2Jkb043bVd2Zlk/view?usp=sharing
I want to create a pivot or cross tab so that it appear like this
LocationDesc
>=360
>=300
>=270
>=240
<240
Port Moresby
John Aita
Mawe Felix
Augustine Eri Luke
Joseph Aura
Robert ROAKEINA
Port Moresby
Ambane Gigmai
Paul Dem
Henry Wanpis
Tiniki Bau
William Laki NIGINTS
Port Moresby
June Vutnamur
Alphonse Waieng
Rex TOMARA
Mika OROMOIA
Eveni Ekeni
Mount Hagen
Dominic Kouroi
Senis Ospea
JOSEPH KLAWA
Peter WAI
PHILIP JAMES
Lae
Henry TIAS
Mathew Dominic
Jobert Idigel
Wagi Jerry
Christopher Bianta
etc
etc
etc
etc
etc
etc
Marsh NarewecHi Marsh,
To achieve your requirement, you may reference the below query.
--pivot the table to get the expected output
;WITH cte AS(
SELECT *,ROW_NUMBER() OVER(PARTITION BY LocationDesc,BandGroup ORDER BY BandGroup) AS rn FROM [TmpBandGroup]
SELECT LocationDesc,[>=360],[>=300],[>=270],[>=240],[<240]
FROM cte
PIVOT
(MAX(EmployeeName) FOR BandGroup IN([>=360],[>=300],[>=270],[>=240],[<240])) PVT
ORDER BY LOCATIONDESC
--the pivot result can be validated with the queries below
;WITH cte AS(
SELECT *,ROW_NUMBER() OVER(PARTITION BY LocationDesc,BandGroup ORDER BY BandGroup) AS rn FROM [TmpBandGroup]
,cte2 AS
SELECT RN, LocationDesc,[>=360],[>=300],[>=270],[>=240],[<240]
FROM cte
PIVOT
(MAX(EmployeeName) FOR BandGroup IN([>=360],[>=300],[>=270],[>=240],[<240])) PVT
SELECT LocationDesc, COUNT([>=360]) [>=360] ,COUNT([>=300]) [>=300],COUNT([>=270]) [>=270],COUNT([>=240]) [>=240],COUNT([<240]) [<240]
FROM cte2
group by LocationDesc
ORDER BY LocationDesc
SELECT LocationDesc,bandgroup,COUNT(EmployeeName) FROM [TmpBandGroup] group by LocationDesc ,bandgroup
ORDER BY LocationDesc,bandgroup DESC
If you have any feedback on our support, you can click
here.
Eric Zhang
TechNet Community Support -
How Can I Add Pivot Tables of Excel Into JSP Pages
Hello all,
Basing upon a query to database, i wanted to add a Microsoft Excel pivot table functionality in JSP page [with the result of query].
Is it possible to create a Pivot Table in JSP with dynamic data from database ??
Can any body help me in solving this issue ???
Thanks & Regards
KrishnaThere are a few alternatives to doing this (depending on the clients you are serving this page up for).
Going the pure HTML
There is an open source project called JPivot which provides an HTML front end for Pivot Table (using tag libraries)
Going the Microsoft Office route there are a few options:
1) POI HSSF ( http://jakarta.apache.org/poi/index.html) allows you to "update" an existing Pivot table by replacing data values contained in a template pivot table.
2) Use the open source XELEM api (xelem.sourceforge.net) which produces SpreadsheetML (Micorsofts current XML file Format). At present, I don't believe this handles creating a pivot table from scratch (you have to manually create the Pivot Table template, read in the template (with XELEM) and update the data values in the template before writing it out. (the same holds true for POI)
3) Commercially the company I work for (www.workbeans.com) is writing a pure Java Pivot Table API that will allow you to create a Pivot Table in the Excel SpreadsheetML file format from scratch. (supported by Office 2000, XP and 2003). The Pivot table functionality isn't slated until a future release (Oct. 2005), so if you can wait until then we could help you further.
Best,
Eric
M. Eric DeFazio
Application Architect, workbeans
[email protected] -
How do I create a pivot table in numbers?
How do I create a pivot table in numbers?
SO HERE'S WHAT I GOT TO WORK:
Truth is all the real functionality of categories and pivot tables exists in the formulas. You just have to
Create a new table with a list of the categories in the header column.
Add SUMIFS() formula from the browser into the next column.
Enter your arguments and make sure to check "Preserve Column" for each of them.
Although it might not be apparent, you can enter multiple test value and condition pairs.
While I admit the formulas are not nearly so graphic as categories, they are cleaner and less restricting, and they aren't any more difficult to work with than pivot tables. -
How to Create Event polling table
hi,
1)How to Create Event polling table
2) wahts RPD stands for.
3) when we are prefer Dynamic variables.
thanks.
raj1) http://obiee101.blogspot.com/2008/07/obiee-managing-cache-emptyingpurging.html
2) Repository Project Design ?
- More than likely the extension RPD was not used by anything else when Siebel Analytics first started using it, no doubt the 'RP' is repository, so use 'Definition' or 'Design' as you like. Im pretty sure there is nothing in the documentation but i've not checked, maybe you could check and let us know?
3) Dynamic variables would be something like 'CURRENT_MONTH' where the same query does not need to fire per user (ie SESSION variable) but needs to be periodically refreshed. Another use of you dynamic variable might be 'LAST_ETL_DATE' or somethng similar which might implement with your event polling table. By including the Variable within a Business Model, all cache for the Business Model is purged whenever the Variable's value changes. -
How to create a cutoms table with a heading
Dear Freinds,
I have a requirement where i have to create the Custom as below .........my functional is
saying that he want table as below
outpatient
employeeno
class
startdate
enddate
spouse
1stchild
2nchild
How can we create like this table having outpatient as heading
and a fields as
employeeno , class,startdate,enddate,spouse,1stchild,2ndchild
how can we create in a custom table..... i have never seenlike the above requiremnt.
Please suggest me how to create. I can send the Excel sheet where they have given the above requiremnt...... plelase any body can suggest me so that i can your personnel id's . Pleast a bit urgent.
regards
syamalaWhile waiting to hear back, I was able to write the query results from an outside Oracle server, to a table on the local SQL Server, and do the LEFT OUTER JOIN required for the final query and report to work. That was with this syntax:
<CFQUERY name="AddTableRecords" datasource="MyTable">
TRUNCATE TABLE ITE_Temp
<CFOUTPUT query="ITE2">
INSERT INTO ITE_Temp
(FullFile,EmployeeCount,DTL_Amount,EmployeeType,station)
VALUES
('#TrueFile#', #CountOfEmployee#, #DTL_SUBTOT#, '#EMPTYPE#', '#ARPT_CD#')
</CFOUTPUT>
</CFQUERY>
However, I was not able to write to a temporary table AND read the results. I got the syntax to run to write the above results to a temporary table. But when I tried to read and output the results from the temp table, I got an error. Also, it wouldn't take the single "#" (local) only the global "##" table var, using this syntax. Note that if I didn't have the DROP TABLE in the beginning, the 2nd time you run this query, you get an error telling you the table already exists.
<CFQUERY name="ITE_Temp2" datasource="MyTable">
DROP TABLE ##MyTemp2
CREATE TABLE ##MyTemp2
FullFile char (7) NOT NULL,
EmployeeCount int NULL,
DTL_Amount decimal NULL,
EmployeeType char (3) NULL,
station char (3) NULL
<CFOUTPUT query="ITE2">
INSERT INTO ##MyTemp2 VALUES
'#ITE2.TrueFile#',
#ITE2.CountOfEmployee#,
#ITE2.DTL_SUBTOT#,
'#ITE2.EMPTYPE#',
'#ITE2.ARPT_CD#'
</CFOUTPUT>
</CFQUERY>
So even though the above works, I could use some help in reading/writing the output. I've tried several things similar to below, but they don't work. It't telling me ITE_Temp2 does not exist. It's not easy to find good examples of creating temporary tables in SQL Server.
<CFQUERY name="QueryTest2" datasource="SkynetSQL">
SELECT *
FROM ITE_Temp2
</CFQUERY>
<CFOUTPUT query="ITE_Temp2">
Output from Temp Table<br>
<p>FullFile: #FullFile#, EmployeeCount: #EmployeeCount#</p>
</CFOUTPUT>
Thanks for any help/advice.
Gary. -
How to create the custom table?
Hi, how to create the custom table and how to integrate the table with defferent R/3?
my requiremnt is i have to create the two tables and those i have to integrate with the existed R/3 and using those R/3 i have to update my custom tables .....can give me some idea?
Tks
DPkhow to create the custom table
There are two approach in creating a table.
1. Bottom-up approach
2. Top-down approach.
Both are valid and you can choose which approach is suitable for you. I always use the bottom-up approach. Here are the steps to create the tables with this approach.
1. SE11 will take you to the DDIC and enter the name of the new table to be created. Let us say Zname. Click create.
2. Enter the short discription of the table and enter the field of the table. If it is primary key and you have to check the box.
3. Enter the data element and double click it, you will be asked to save and will take you to data element discription page. Enter the short discription of the data element and enter the information of domain like the length of field and type of field.
4. If you wanted to use the existing domain then its fine, or else, you have to create one. Enter the domain name in the data element page and double click it. Page will ask to save and jump to domain creation page.
5. In the domain page, you have to save the information which you have already given in the data elements page and check it. Before going to data element page, you have to activate the domain.
6. Go to data element page and save, check and activate.
7. Go to main table page and save, check, and activate.
8. Also, you have to save the technical settings of the table.
The table is now ready for operation. You can use it in your program or you can use it to enter information.
Check table: It is the table which will have all the information about the Foreign keys which are the primary keys in the check table.
It can be created by creating the foreign key from the main table. Click foreign key in the main table and it will take you to a page which will ask for table name and field to which foreign key relation has to be associated. Enter the information and you can create the check table automatically.
SM30 is used for maintenance of the table, that is to realease the errors occured during the creation of the table.
how to integrate the table with defferent R/3
Transport the Table to the another server/client/qas/prd
Kanagaraja L -
How to create a temp table in the memory, not in disk?
in sql server, you can create a temp table in the memory instead of disk,
then you can do the insert, delete,update and select on it.
after finishing, just release it.
in Oracle,
I am wonderfing how to create a temp table in the memory, not in disk?
thanks,Thanks for rectifying me Howard.
I just read your full article on this too and its very well explained here:
http://www.dizwell.com/prod/node/357
Few lines from your article
It is true, of course, that since Version 8.0 Oracle has provided the ability to create a Keep Pool in the Buffer Cache, which certainly sounds like it can do the job... especially since that word 'keep' is used again. But a keep pool is merely a segregated part of the buffer cache, into which you direct blocks from particular tables (by creating them, or altering them, with the BUFFER POOL KEEP clause). So you can tuck the blocks from such tables out of the way, into their own part of the buffer cache... but that is not the same thing as guaranteeing they'll stay there. If you over-populate the Keep Pool, then its LRU mechanism will kick in and age its contents out just as efficiently as an unsegregated buffer cache would.
Functionally, therefore, there can be no guarantees. The best you can do is create a sufficiently large Keep Pool, and then choose the tables that will use it with care such that they don’t swamp themselves, and start causing each other to age out back to disk.
Thanks and Regards -
Creating a Pivot Table in a XML publishe
When creating a Pivot Table in a XML publisher in Word, is there a way for a Pivot table to respect the fact that it's inside of a group function? I'm looping over site , and within each site I want to create a Pivot Table that has Months going across and SUB inventories going down, but only for that site.
Hello,
create one column in criteria and change it's fx to case when 1=0 then Products."Prod Name" else 'Tota Loanl' end
Now go to pivot and drag this column to Columns block of pivot. But keep this column up of Measure Labels and Now, go to column Format values.
Mention cell horizontal alignment to Center
see the following screenshot, Header is the column i created with the above functionality.
!http://i852.photobucket.com/albums/ab83/kishorg86/Header.jpg! -
How to create variant for table/view ?
Hi,
When I go through SM30, I find a radio button called variant. I don't know the effect.
Can anyone tell me how to create variant for table / view ?
I want to know when we need to create variant for table/view.
Best regards,
Chris Guhi ,
Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.
For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.
If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant
Procedure
To create a new variant:
1. On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.
2. On the variant maintenance initial screen, enter the name of the variant to be created.
Note the naming convention for variants (see below).
3. Choose Create.
If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.
4. If there is more than one selection screen, select the screens for which you want to create the variant
5. Choose Continue.
The (first) selection screen for the report appears.
If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.
6. Enter the desired selection values, including multiple selection and dynamic selection.
7. Choose Continue. -
HOW TO create a temp table or a record group at run time
i have a a tabular form and i dont want to allow the user entering duplicate
records while he is in insert mode and the inserted records are new and not exsisting in the database.
so i want to know how to create a temp table or a record group at run time to hold the inserted valuse and compare if they are exsiting in previous rows or no.
please help!As was stated above, there are better ways to do it. But if you still wish to create a temporary block to hold the inserted records, then you can do this:
Create a non-database block with items that have the same data types as the database table. When the user creates a new record, insert the record in the non-database block. Then, before the commit, compare the records in the non-database block with those in the database block, one at a time, item by item. If the record is not a duplicate, copy the record to the database block. Commit the records, and delete the records in the non-database block. -
How to create a booking table (make online reservation)
Hi everyone,
I'm just wondering if any of you know how to create a booking
table, like a booking seat for an airplane... I have to do the
booking table as I'm doing a Japanese Restaurant website for my
project.. At the moment, I'm using PHP, MySQL and HTML..
Could anyone help me, please?
Cheers,
NovaYou first need to check with your host to see which type of
server side
scripting language they support. If they support PHP, try,
http://www.jellyform.com/
Shane H
[email protected]
http://www.avenuedesigners.com
=============================================
Blog:
http://avenuedesigners.com/blog/
Web dev articles, photography, and more:
http://sourtea.com
=============================================
Proud GAWDS member
http://www.gawds.org/showmember.php?memberid=1495
Delivering accessible websites to all ...
=============================================
"mastacraft" <[email protected]> wrote in
message
news:f3pote$d16$[email protected]..
> Hello,
>
> I need to create a booking form for a website- So wen
they fill out form
> for
> bookings. Should have tab for club appearance. Magazine
ads. Etc It needs
> to
> lead to this email : [email protected]
>
> I'm really not sure how the best way is to do this, i
understand it's
> probably
> a really simple process.
>
> Regards,
>
Maybe you are looking for
-
Code to derive the Work Week (ISO IW doesn't fit the requirement)
I could use some assistance with my pl/sql code to derive the work week from the current date. If January 1st lands on Thursday, Friday, or Saturday, the work week for January 1st is '53'. If January 1st lands on Sunday, Monday, Tuesday, or Wednesday
-
When I try to watch any video clip I get this: The version of "Adobe Flash Player" on your system does not include the latest security updates and has been blocked. To continue using "Adobe Flash Player", download an updated version from Adobe's webs
-
Trouble after updating adobe flash plugin in quicktime/safari
I was visiting a site when a presentation in the site did not work and gave the response to update the adobe flashplayer to the latest version. I did this and now quicktime doesn't recognise any thing any more. ( In sites and mail. My movies on hardd
-
Safari keeps crashing after adobe update
Hey, today it poped up a adobe update page, and i installed it, but now safari keeps crashing and i get the message pasted below, what to do?? do i have the flashback malware?? and how do i get rid of it? Process: WebProcess [2713] Path: /System/Libr
-
i have 65 G of music on my mac and would like to take it off my hard drive and put it on a external hard drive. is there any way i could play my music through itunes and not actually have to load all the songs back into itunes. maybe if i ran itunes