xref: /trunk/main/helpcontent2/source/text/scalc/guide/datapilot_createtable.xhp (revision 964501fbd23c92e9080863b0642d5a74a4e47e20)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
302dbb15cSAndrew Rist<!--***********************************************************
4cdf0e10cSrcweir *
502dbb15cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
602dbb15cSAndrew Rist * or more contributor license agreements.  See the NOTICE file
702dbb15cSAndrew Rist * distributed with this work for additional information
802dbb15cSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
902dbb15cSAndrew Rist * to you under the Apache License, Version 2.0 (the
1002dbb15cSAndrew Rist * "License"); you may not use this file except in compliance
1102dbb15cSAndrew Rist * with the License.  You may obtain a copy of the License at
12cdf0e10cSrcweir *
1302dbb15cSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14cdf0e10cSrcweir *
1502dbb15cSAndrew Rist * Unless required by applicable law or agreed to in writing,
1602dbb15cSAndrew Rist * software distributed under the License is distributed on an
1702dbb15cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1802dbb15cSAndrew Rist * KIND, either express or implied.  See the License for the
1902dbb15cSAndrew Rist * specific language governing permissions and limitations
2002dbb15cSAndrew Rist * under the License.
21cdf0e10cSrcweir *
2202dbb15cSAndrew Rist ***********************************************************-->
2302dbb15cSAndrew Rist
24c5ffc49bSmseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textscalcguidedatapilot_createtablexml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title xml-lang="en-US" id="tit">Creating Pivot Tables</title>
28cdf0e10cSrcweir<filename>/text/scalc/guide/datapilot_createtable.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
32c5ffc49bSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3148491">
33c5ffc49bSmseidel<bookmark_value>pivot tables</bookmark_value>
34cdf0e10cSrcweir<bookmark_value>pivot table function; calling up and applying</bookmark_value>
35cdf0e10cSrcweir</bookmark>
36*964501fbSmseidel<paragraph xml-lang="en-US" id="hd_id3148491" role="heading" level="1" l10n="U"><variable id="datapilot_createtable"><link href="text/scalc/guide/datapilot_createtable.xhp" name="Creating Pivot Tables">Creating Pivot Tables</link>
37cdf0e10cSrcweir</variable></paragraph>
38cdf0e10cSrcweir<list type="ordered">
39cdf0e10cSrcweir<listitem>
40*964501fbSmseidel<paragraph xml-lang="en-US" id="par_id3156023" role="listitem" l10n="U">Position the cursor within a range of cells containing values, row and column headings.</paragraph>
41cdf0e10cSrcweir</listitem>
42cdf0e10cSrcweir<listitem>
43*964501fbSmseidel<paragraph xml-lang="en-US" id="par_id3147264" role="listitem" l10n="CHG">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>
44cdf0e10cSrcweir</listitem>
45cdf0e10cSrcweir<listitem>
46*964501fbSmseidel<paragraph xml-lang="en-US" id="par_id3150868" role="listitem" l10n="CHG">Drag the desired buttons into one of the four areas.</paragraph>
47cdf0e10cSrcweir</listitem>
48cdf0e10cSrcweir</list>
49cdf0e10cSrcweir<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>
50*964501fbSmseidel<paragraph xml-lang="en-US" id="par_id3154011" role="paragraph" l10n="CHG">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>
51cdf0e10cSrcweir<list type="unordered">
52cdf0e10cSrcweir<listitem>
53*964501fbSmseidel<paragraph xml-lang="en-US" id="par_id3146974" role="listitem" l10n="CHG">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>
54cdf0e10cSrcweir</listitem>
55cdf0e10cSrcweir<listitem>
56*964501fbSmseidel<paragraph xml-lang="en-US" id="par_id3156286" role="listitem" l10n="U">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
57cdf0e10cSrcweir</caseinline><defaultinline>Ctrl </defaultinline></switchinline>key while clicking the desired calculation.</paragraph>
58cdf0e10cSrcweir</listitem>
59cdf0e10cSrcweir</list>
60cdf0e10cSrcweir<list type="ordered">
61cdf0e10cSrcweir<listitem>
62*964501fbSmseidel<paragraph xml-lang="en-US" id="par_id3150329" role="listitem" l10n="CHG">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>
63cdf0e10cSrcweir</listitem>
64cdf0e10cSrcweir<listitem>
65*964501fbSmseidel<paragraph xml-lang="en-US" id="par_id3153714" role="listitem" l10n="U">Remove a button by dragging it back to the area of the other buttons at the right of the dialog.</paragraph>
66cdf0e10cSrcweir</listitem>
67cdf0e10cSrcweir<listitem>
68*964501fbSmseidel<paragraph xml-lang="en-US" id="par_id3147338" role="listitem" l10n="U">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>
69cdf0e10cSrcweir</listitem>
70cdf0e10cSrcweir</list>
71*964501fbSmseidel<paragraph xml-lang="en-US" id="par_id3154020" role="paragraph" l10n="CHG">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>
72cdf0e10cSrcweir<section id="relatedtopics">
73cdf0e10cSrcweir<embed href="text/scalc/guide/datapilot.xhp#datapilot"/>
74cdf0e10cSrcweir<embed href="text/scalc/guide/datapilot_edittable.xhp#datapilot_edittable"/>
75cdf0e10cSrcweir<embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/>
76cdf0e10cSrcweir<embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/>
77cdf0e10cSrcweir<embed href="text/scalc/guide/datapilot_grouping.xhp#datapilot_grouping"/>
78cdf0e10cSrcweir<embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/>
79cdf0e10cSrcweir<embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/>
80cdf0e10cSrcweir</section>
81cdf0e10cSrcweir</body>
82cdf0e10cSrcweir</helpdocument>
83