1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?>
2*b1cdbd2cSJim Jagielski<helpdocument version="1.0">
3*b1cdbd2cSJim Jagielski
4*b1cdbd2cSJim Jagielski<!--***********************************************************
5*b1cdbd2cSJim Jagielski *
6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
7*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
8*b1cdbd2cSJim Jagielski * distributed with this work for additional information
9*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
12*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
13*b1cdbd2cSJim Jagielski *
14*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
15*b1cdbd2cSJim Jagielski *
16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
21*b1cdbd2cSJim Jagielski * under the License.
22*b1cdbd2cSJim Jagielski *
23*b1cdbd2cSJim Jagielski ***********************************************************-->
24*b1cdbd2cSJim Jagielski
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim Jagielski
27*b1cdbd2cSJim Jagielski
28*b1cdbd2cSJim Jagielski<meta>
29*b1cdbd2cSJim Jagielski      <topic id="textscalcguidedatapilot_createtablexml" indexer="include" status="PUBLISH">
30*b1cdbd2cSJim Jagielski         <title xml-lang="en-US" id="tit">Creating Pivot Tables</title>
31*b1cdbd2cSJim Jagielski         <filename>/text/scalc/guide/datapilot_createtable.xhp</filename>
32*b1cdbd2cSJim Jagielski      </topic>
33*b1cdbd2cSJim Jagielski   </meta>
34*b1cdbd2cSJim Jagielski   <body>
35*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id3148491"><bookmark_value>pivot tables</bookmark_value>
36*b1cdbd2cSJim Jagielski      <bookmark_value>pivot table function; calling up and applying</bookmark_value>
37*b1cdbd2cSJim Jagielski</bookmark>
38*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="hd_id3148491" role="heading" level="1" l10n="U" oldref="7"><variable id="datapilot_createtable"><link href="text/scalc/guide/datapilot_createtable.xhp" name="Creating Pivot Tables">Creating Pivot Tables</link>
39*b1cdbd2cSJim Jagielski</variable></paragraph>
40*b1cdbd2cSJim Jagielski      <list type="ordered">
41*b1cdbd2cSJim Jagielski         <listitem>
42*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3156023" role="listitem" l10n="U" oldref="8">Position the cursor within a range of cells containing values, row and column headings.</paragraph>
43*b1cdbd2cSJim Jagielski         </listitem>
44*b1cdbd2cSJim Jagielski         <listitem>
45*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3147264" role="listitem" l10n="CHG" oldref="9">Choose <emph>Data - Pivot Table - Create</emph>. The <emph>Select Source</emph> dialog appears. Choose <emph>Current selection</emph> and confirm with <emph>OK</emph>. The table headings are shown as buttons in the <emph>Pivot Table</emph> dialog. Drag these buttons as required and drop them into the layout areas "Page Fields", "Column Fields", "Row Fields" and "Data Fields".</paragraph>
46*b1cdbd2cSJim Jagielski         </listitem>
47*b1cdbd2cSJim Jagielski         <listitem>
48*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3150868" role="listitem" l10n="CHG" oldref="10">Drag the desired buttons into one of the four areas.</paragraph>
49*b1cdbd2cSJim Jagielski         </listitem>
50*b1cdbd2cSJim Jagielski      </list>
51*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id7599414" role="paragraph" l10n="NEW">Drag a button to the <emph>Page Fields</emph> area to create a button and a listbox on top of the generated pivot table. The listbox can be used to filter the pivot table by the contents of the selected item. You can use drag-and-drop within the generated pivot table to use another page field as a filter.</paragraph>
52*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id3154011" role="paragraph" l10n="CHG" oldref="11">If the button is dropped in the <emph>Data Fields</emph> area it will be given a caption that also shows the formula that will be used to calculate the data.</paragraph>
53*b1cdbd2cSJim Jagielski      <list type="unordered">
54*b1cdbd2cSJim Jagielski         <listitem>
55*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3146974" role="listitem" l10n="CHG" oldref="16">By double-clicking on one of the fields in the <emph>Data Fields</emph> area you can call up the <link href="text/scalc/01/12090105.xhp" name="Data Field"><emph>Data Field</emph></link> dialog.</paragraph>
56*b1cdbd2cSJim Jagielski         </listitem>
57*b1cdbd2cSJim Jagielski         <listitem>
58*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3156286" role="listitem" l10n="U" oldref="17">Use the <item type="menuitem">Data Field</item> dialog to select the calculations to be used for the data. To make a multiple selection, press the <switchinline select="sys"><caseinline select="MAC">Command
59*b1cdbd2cSJim Jagielski</caseinline><defaultinline>Ctrl </defaultinline></switchinline>key while clicking the desired calculation.</paragraph>
60*b1cdbd2cSJim Jagielski         </listitem>
61*b1cdbd2cSJim Jagielski      </list>
62*b1cdbd2cSJim Jagielski      <list type="ordered">
63*b1cdbd2cSJim Jagielski         <listitem>
64*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3150329" role="listitem" l10n="CHG" oldref="13">The order of the buttons can be changed at any time by moving them to a different position in the area with the mouse.</paragraph>
65*b1cdbd2cSJim Jagielski         </listitem>
66*b1cdbd2cSJim Jagielski         <listitem>
67*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3153714" role="listitem" l10n="U" oldref="14">Remove a button by dragging it back to the area of the other buttons at the right of the dialog.</paragraph>
68*b1cdbd2cSJim Jagielski         </listitem>
69*b1cdbd2cSJim Jagielski         <listitem>
70*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3147338" role="listitem" l10n="U" oldref="15">To open the <link href="text/scalc/01/12090105.xhp" name="Data Field"><emph>Data Field</emph></link> dialog, double-click one of the buttons in the <emph>Row</emph> or <emph>Column</emph> area. Use the dialog to select if and to what extent <item type="productname">%PRODUCTNAME</item> calculates display subtotals.</paragraph>
71*b1cdbd2cSJim Jagielski         </listitem>
72*b1cdbd2cSJim Jagielski      </list>
73*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id3154020" role="paragraph" l10n="CHG" oldref="18">Exit the Pivot Table dialog by pressing OK. A <emph>Filter</emph> button will now be inserted, or a page button for every data field that you dropped in the <emph>Page Fields</emph> area. The pivot table is inserted further down.</paragraph>
74*b1cdbd2cSJim Jagielski      <section id="relatedtopics">
75*b1cdbd2cSJim Jagielski         <embed href="text/scalc/guide/datapilot.xhp#datapilot"/>
76*b1cdbd2cSJim Jagielski         <embed href="text/scalc/guide/datapilot_edittable.xhp#datapilot_edittable"/>
77*b1cdbd2cSJim Jagielski         <embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/>
78*b1cdbd2cSJim Jagielski         <embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/>
79*b1cdbd2cSJim Jagielski         <embed href="text/scalc/guide/datapilot_grouping.xhp#datapilot_grouping"/>
80*b1cdbd2cSJim Jagielski         <embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/>
81*b1cdbd2cSJim Jagielski         <embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/>
82*b1cdbd2cSJim Jagielski      </section>
83*b1cdbd2cSJim Jagielski   </body>
84*b1cdbd2cSJim Jagielski</helpdocument>