1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<helpdocument version="1.0">
<meta>
<topic id="textscalc0112090105xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Data field</title>
<filename>/text/scalc/01/12090105.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/pivotfielddialog/PivotFieldDialog" id="bm_id3153194" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/pivotfielddialog/@@nowidget@@" id="bm_id3153194" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/datafielddialog/BaseFieldDialog" id="bm_id8070926" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/datafielddialog/@@nowidget@@" id="bm_id8070926" localize="false"/>
<bookmark xml-lang="en-US" branch="index" id="bm_id7292397"><bookmark_value>calculating;pivot table</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3150871" xml-lang="en-US" level="1">Data field</paragraph>
<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US">The contents of this dialog is different for data fields in the <emph>Data</emph> area, and data fields in the <emph>Row</emph> or <emph>Column</emph> area of the <link href="text/scalc/01/12090102.xhp" name="Pivot table">Pivot Table</link> dialog.</paragraph>
<paragraph role="heading" id="hd_id3152596" xml-lang="en-US" level="2">Subtotals</paragraph>
<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US"><ahelp hid="modules/scalc/ui/pivotfielddialog/PivotFieldDialog">Specify the subtotals that you want to calculate.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3145366" xml-lang="en-US" level="3">None</paragraph>
<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US"><ahelp hid="modules/scalc/ui/pivotfielddialog/none">Does not calculate subtotals.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3154012" xml-lang="en-US" level="3">Automatic</paragraph>
<paragraph role="paragraph" id="par_id3155856" xml-lang="en-US"><ahelp hid="modules/scalc/ui/pivotfielddialog/auto">Automatically calculates subtotals.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3155411" xml-lang="en-US" level="3">User-defined</paragraph>
<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US"><ahelp hid="modules/scalc/ui/pivotfielddialog/user">Select this option, and then click the type of subtotal that you want to calculate in the list.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/pivotfielddialog/functions" id="bm_id3145799" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/datafielddialog/functions" id="bm_id1523789" localize="false"/>
<paragraph role="heading" id="hd_id3147124" xml-lang="en-US" level="3">Function</paragraph>
<paragraph role="paragraph" id="par_id3154490" xml-lang="en-US"><ahelp hid=".">Click the type of subtotal that you want to calculate. This option is only available if the <emph>User-defined</emph> option is selected.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/pivotfielddialog/showall" id="bm_id3154015" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/datafielddialog/checkbutton1" id="bm_id1523790" localize="false"/>
<paragraph role="heading" id="hd_id3154944" xml-lang="en-US" level="2">Show items without data</paragraph>
<paragraph role="paragraph" id="par_id3149403" xml-lang="en-US"><ahelp hid=".">Includes empty columns and rows in the results table.</ahelp></paragraph>
<paragraph role="heading" id="hd_id3149122" xml-lang="en-US" level="2">Name:</paragraph>
<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US">Lists the name of the selected data field.</paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/datafielddialog/expander" id="bm_id4281746" localize="false"/>
<paragraph role="heading" id="par_idN106EC" xml-lang="en-US" level="2">More</paragraph>
<paragraph role="paragraph" id="par_idN106F0" xml-lang="en-US"><ahelp hid=".">Expands or reduces the dialog. The <emph>More</emph> button is visible for data fields only.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/pivotfielddialog/options" id="bm_id2855922" localize="false"/>
<paragraph role="heading" id="par_idN106F3" xml-lang="en-US" level="2">Options</paragraph>
<paragraph role="paragraph" id="par_idN106F7" xml-lang="en-US"><ahelp hid=".">Opens the <link href="text/scalc/01/12090106.xhp">Data Field Options</link> dialog. The <emph>Options</emph> button is visible for filters and column or row fields only.</ahelp></paragraph>
<paragraph role="paragraph" id="par_idN10708" xml-lang="en-US">If the dialog is expanded by the <emph>More</emph> button, the following items are added to the dialog:</paragraph>
<paragraph role="heading" id="par_idN1070B" xml-lang="en-US" level="2">Displayed value</paragraph>
<paragraph role="paragraph" id="par_idN1070F" xml-lang="en-US"><ahelp hid=".">For each data field, you can select the type of display.</ahelp> For some types you can select additional information for a base field and a base item.</paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/datafielddialog/type" id="bm_id3325907" localize="false"/>
<paragraph role="heading" id="par_idN10712" xml-lang="en-US" level="3">Type</paragraph>
<paragraph role="paragraph" id="par_idN10716" xml-lang="en-US"><ahelp hid="modules/scalc/ui/datafielddialog/type">Select the type of calculating of the displayed value for the data field.</ahelp></paragraph>
<table id="">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_idN10724" xml-lang="en-US">Type</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_idN1072A" xml-lang="en-US">Displayed value</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10731" xml-lang="en-US">Normal</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10737" xml-lang="en-US">Results are shown unchanged</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1073E" xml-lang="en-US">Difference from</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10744" xml-lang="en-US">From each result, its reference value (see below) is subtracted, and the difference is shown. Totals outside of the base field are shown as empty results.</paragraph>
<paragraph role="tablecontent" id="par_idN10747" xml-lang="en-US">
<emph>Named item</emph>
</paragraph>
<paragraph role="tablecontent" id="par_idN1074C" xml-lang="en-US">If a base item name is specified, the reference value for a combination of field items is the result where the item in the base field is replaced by the specified base item.</paragraph>
<paragraph role="tablecontent" id="par_idN1074F" xml-lang="en-US">
<emph>Previous item or Next item</emph>
</paragraph>
<paragraph role="tablecontent" id="par_idN10754" xml-lang="en-US">If "previous item" or "next item" is specified as the base item, the reference value is the result for the next visible member of the base field, in the base field's sort order.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1075B" xml-lang="en-US">% Of</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10761" xml-lang="en-US">Each result is divided by its reference value. The reference value is determined in the same way as for "Difference from". Totals outside of the base field are shown as empty results. </paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1076A" xml-lang="en-US">% Difference from</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10770" xml-lang="en-US">From each result, its reference value is subtracted, and the difference is divided by the reference value. The reference value is determined in the same way as for "Difference from". Totals outside of the base field are shown as empty results.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10777" xml-lang="en-US">Running total in</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1077D" xml-lang="en-US">Each result is added to the sum of the results for preceding items in the base field, in the base field's sort order, and the total sum is shown.</paragraph>
<paragraph role="tablecontent" id="par_idN10780" xml-lang="en-US">Results are always summed, even if a different summary function was used to get each result.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10787" xml-lang="en-US">% of row</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1078D" xml-lang="en-US">Each result is divided by the total result for its row in the pivot table. If there are several data fields, the total for the result's data field is used. If there are subtotals with manually selected summary functions, the total with the data field's summary function is still used. </paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10794" xml-lang="en-US">% of column</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1079A" xml-lang="en-US">Same as "% of row", but the total for the result's column is used.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107A1" xml-lang="en-US">% of total</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107A7" xml-lang="en-US">Same as "% of row", but the grand total for the result's data field is used.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107AE" xml-lang="en-US">Index</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107B4" xml-lang="en-US">The row and column totals and the grand total, following the same rules as above, are used to calculate the following expression:</paragraph>
<paragraph role="tablecontent" id="par_idN107B7" xml-lang="en-US">( original result * grand total ) / ( row total * column total )</paragraph>
</tablecell>
</tablerow>
</table>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/datafielddialog/basefield" id="bm_id7005523" localize="false"/>
<paragraph role="heading" id="par_idN107BA" xml-lang="en-US" level="3">Base field</paragraph>
<paragraph role="paragraph" id="par_idN107BE" xml-lang="en-US"><ahelp hid="modules/scalc/ui/datafielddialog/basefield">Select the field from which the respective value is taken as base for the calculation.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/datafielddialog/baseitem" id="bm_id8070925" localize="false"/>
<paragraph role="heading" id="par_idN107C1" xml-lang="en-US" level="3">Base item</paragraph>
<paragraph role="paragraph" id="par_idN107C5" xml-lang="en-US"><ahelp hid="modules/scalc/ui/datafielddialog/baseitem">Select the item of the base field from which the respective value is taken as base for the calculation.</ahelp></paragraph>
</body>
</helpdocument>
|