1<?xml version="1.0" encoding="UTF-8"?> 2 3 4<!--*********************************************************** 5 * 6 * Licensed to the Apache Software Foundation (ASF) under one 7 * or more contributor license agreements. See the NOTICE file 8 * distributed with this work for additional information 9 * regarding copyright ownership. The ASF licenses this file 10 * to you under the Apache License, Version 2.0 (the 11 * "License"); you may not use this file except in compliance 12 * with the License. You may obtain a copy of the License at 13 * 14 * http://www.apache.org/licenses/LICENSE-2.0 15 * 16 * Unless required by applicable law or agreed to in writing, 17 * software distributed under the License is distributed on an 18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19 * KIND, either express or implied. See the License for the 20 * specific language governing permissions and limitations 21 * under the License. 22 * 23 ***********************************************************--> 24 25 26 27<helpdocument version="1.0"> 28<meta> 29<topic id="textscalc0112090105xml" indexer="include" status="PUBLISH"> 30<title id="tit" xml-lang="en-US">Data field</title> 31<filename>/text/scalc/01/12090105.xhp</filename> 32</topic> 33</meta> 34<body> 35<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_PIVOTSUBT" id="bm_id3153194" localize="false"/> 36<bookmark xml-lang="en-US" branch="index" id="bm_id7292397"><bookmark_value>calculating;pivot table</bookmark_value> 37</bookmark> 38<paragraph role="heading" id="hd_id3150871" xml-lang="en-US" level="1" l10n="U" oldref="1">Data field</paragraph> 39<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="16">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> 40<paragraph role="heading" id="hd_id3152596" xml-lang="en-US" level="2" l10n="U" oldref="2">Subtotals</paragraph> 41<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="3"><ahelp hid="HID_SC_PIVOTSUBT">Specify the subtotals that you want to calculate.</ahelp></paragraph> 42<!-- removed HID SC:RADIOBUTTON:RID_SCDLG_PIVOTSUBT:BTN_NONE --> 43<paragraph role="heading" id="hd_id3145366" xml-lang="en-US" level="3" l10n="U" oldref="4">None</paragraph> 44<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="5"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_PIVOTSUBT:BTN_NONE">Does not calculate subtotals.</ahelp></paragraph> 45<!-- removed HID SC:RADIOBUTTON:RID_SCDLG_PIVOTSUBT:BTN_AUTO --> 46<paragraph role="heading" id="hd_id3154012" xml-lang="en-US" level="3" l10n="U" oldref="6">Automatic</paragraph> 47<paragraph role="paragraph" id="par_id3155856" xml-lang="en-US" l10n="U" oldref="7"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_PIVOTSUBT:BTN_AUTO">Automatically calculates subtotals.</ahelp></paragraph> 48<!-- removed HID SC:RADIOBUTTON:RID_SCDLG_PIVOTSUBT:BTN_USER --> 49<paragraph role="heading" id="hd_id3155411" xml-lang="en-US" level="3" l10n="U" oldref="8">User-defined</paragraph> 50<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_PIVOTSUBT:BTN_USER">Select this option, and then click the type of subtotal that you want to calculate in the list.</ahelp></paragraph> 51<bookmark xml-lang="en-US" branch="hid/sc:MultiListBox:RID_SCDLG_PIVOTSUBT:LB_FUNC" id="bm_id3145799" localize="false"/> 52<bookmark xml-lang="en-US" branch="hid/sc:MultiListBox:RID_SCDLG_DPDATAFIELD:LB_FUNC" id="bm_id1523789" localize="false"/> 53<paragraph role="heading" id="hd_id3147124" xml-lang="en-US" level="3" l10n="U" oldref="10">Function</paragraph> 54<paragraph role="paragraph" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid="SC:MULTILISTBOX:RID_SCDLG_PIVOTSUBT:LB_FUNC">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> 55<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_PIVOTSUBT:CB_SHOWALL" id="bm_id3154015" localize="false"/> 56<paragraph role="heading" id="hd_id3154944" xml-lang="en-US" level="2" l10n="U" oldref="14">Show elements without data</paragraph> 57<paragraph role="paragraph" id="par_id3149403" xml-lang="en-US" l10n="U" oldref="15"><ahelp hid="SC:CHECKBOX:RID_SCDLG_PIVOTSUBT:CB_SHOWALL">Includes empty columns and rows in the results table.</ahelp></paragraph> 58<paragraph role="heading" id="hd_id3149122" xml-lang="en-US" level="2" l10n="U" oldref="12">Name:</paragraph> 59<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="13">Lists the name of the selected data field.</paragraph> 60<bookmark xml-lang="en-US" branch="hid/sc:MoreButton:RID_SCDLG_DPDATAFIELD:BTN_MORE" id="bm_id4281746" localize="false"/> 61<paragraph role="heading" id="par_idN106EC" xml-lang="en-US" level="2" l10n="NEW">More</paragraph> 62<paragraph role="paragraph" id="par_idN106F0" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Expands or reduces the dialog. The <emph>More</emph> button is visible for data fields only.</ahelp></paragraph> 63<bookmark xml-lang="en-US" branch="hid/sc:PushButton:RID_SCDLG_PIVOTSUBT:BTN_OPTIONS" id="bm_id2855922" localize="false"/> 64<paragraph role="heading" id="par_idN106F3" xml-lang="en-US" level="2" l10n="NEW">Options</paragraph> 65<paragraph role="paragraph" id="par_idN106F7" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Opens the <link href="text/scalc/01/12090106.xhp">Data Field Options</link> dialog. The <emph>Options</emph> button is visible for column, row, or page fields only.</ahelp></paragraph> 66<paragraph role="paragraph" id="par_idN10708" xml-lang="en-US" l10n="NEW">If the dialog is expanded by the <emph>More</emph> button, the following items are added to the dialog:</paragraph> 67<paragraph role="heading" id="par_idN1070B" xml-lang="en-US" level="2" l10n="NEW">Displayed value</paragraph> 68<paragraph role="paragraph" id="par_idN1070F" xml-lang="en-US" l10n="NEW"><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> 69<bookmark xml-lang="en-US" branch="hid/sc:ListBox:RID_SCDLG_DPDATAFIELD:LB_TYPE" id="bm_id3325907" localize="false"/> 70<paragraph role="heading" id="par_idN10712" xml-lang="en-US" level="3" l10n="NEW">Type</paragraph> 71<paragraph role="paragraph" id="par_idN10716" xml-lang="en-US" l10n="NEW"><ahelp hid="1495371266">Select the type of calculating of the displayed value for the data field.</ahelp></paragraph> 72<table id=""> 73<tablerow> 74<tablecell colspan="" rowspan=""> 75<paragraph role="tablehead" id="par_idN10724" xml-lang="en-US" l10n="NEW">Type</paragraph> 76</tablecell> 77<tablecell colspan="" rowspan=""> 78<paragraph role="tablehead" id="par_idN1072A" xml-lang="en-US" l10n="NEW">Displayed value</paragraph> 79</tablecell> 80</tablerow> 81<tablerow> 82<tablecell colspan="" rowspan=""> 83<paragraph role="tablecontent" id="par_idN10731" xml-lang="en-US" l10n="NEW">Normal</paragraph> 84</tablecell> 85<tablecell colspan="" rowspan=""> 86<paragraph role="tablecontent" id="par_idN10737" xml-lang="en-US" l10n="NEW">Results are shown unchanged</paragraph> 87</tablecell> 88</tablerow> 89<tablerow> 90<tablecell colspan="" rowspan=""> 91<paragraph role="tablecontent" id="par_idN1073E" xml-lang="en-US" l10n="NEW">Difference from</paragraph> 92</tablecell> 93<tablecell colspan="" rowspan=""> 94<paragraph role="tablecontent" id="par_idN10744" xml-lang="en-US" l10n="NEW">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> 95<paragraph role="tablecontent" id="par_idN10747" xml-lang="en-US" l10n="NEW"> 96<emph>Named item</emph> 97</paragraph> 98<paragraph role="tablecontent" id="par_idN1074C" xml-lang="en-US" l10n="NEW">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> 99<paragraph role="tablecontent" id="par_idN1074F" xml-lang="en-US" l10n="NEW"> 100<emph>Previous item or Next item</emph> 101</paragraph> 102<paragraph role="tablecontent" id="par_idN10754" xml-lang="en-US" l10n="NEW">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> 103</tablecell> 104</tablerow> 105<tablerow> 106<tablecell colspan="" rowspan=""> 107<paragraph role="tablecontent" id="par_idN1075B" xml-lang="en-US" l10n="NEW">% Of</paragraph> 108</tablecell> 109<tablecell colspan="" rowspan=""> 110<paragraph role="tablecontent" id="par_idN10761" xml-lang="en-US" l10n="NEW">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> 111</tablecell> 112</tablerow> 113<tablerow> 114<tablecell colspan="" rowspan=""> 115<paragraph role="tablecontent" id="par_idN1076A" xml-lang="en-US" l10n="NEW">% Difference from</paragraph> 116</tablecell> 117<tablecell colspan="" rowspan=""> 118<paragraph role="tablecontent" id="par_idN10770" xml-lang="en-US" l10n="NEW">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> 119</tablecell> 120</tablerow> 121<tablerow> 122<tablecell colspan="" rowspan=""> 123<paragraph role="tablecontent" id="par_idN10777" xml-lang="en-US" l10n="NEW">Running total in</paragraph> 124</tablecell> 125<tablecell colspan="" rowspan=""> 126<paragraph role="tablecontent" id="par_idN1077D" xml-lang="en-US" l10n="NEW">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> 127<paragraph role="tablecontent" id="par_idN10780" xml-lang="en-US" l10n="NEW">Results are always summed, even if a different summary function was used to get each result.</paragraph> 128</tablecell> 129</tablerow> 130<tablerow> 131<tablecell colspan="" rowspan=""> 132<paragraph role="tablecontent" id="par_idN10787" xml-lang="en-US" l10n="NEW">% of row</paragraph> 133</tablecell> 134<tablecell colspan="" rowspan=""> 135<paragraph role="tablecontent" id="par_idN1078D" xml-lang="en-US" l10n="NEW">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> 136</tablecell> 137</tablerow> 138<tablerow> 139<tablecell colspan="" rowspan=""> 140<paragraph role="tablecontent" id="par_idN10794" xml-lang="en-US" l10n="NEW">% of column</paragraph> 141</tablecell> 142<tablecell colspan="" rowspan=""> 143<paragraph role="tablecontent" id="par_idN1079A" xml-lang="en-US" l10n="NEW">Same as "% of row", but the total for the result's column is used.</paragraph> 144</tablecell> 145</tablerow> 146<tablerow> 147<tablecell colspan="" rowspan=""> 148<paragraph role="tablecontent" id="par_idN107A1" xml-lang="en-US" l10n="NEW">% of total</paragraph> 149</tablecell> 150<tablecell colspan="" rowspan=""> 151<paragraph role="tablecontent" id="par_idN107A7" xml-lang="en-US" l10n="NEW">Same as "% of row", but the grand total for the result's data field is used.</paragraph> 152</tablecell> 153</tablerow> 154<tablerow> 155<tablecell colspan="" rowspan=""> 156<paragraph role="tablecontent" id="par_idN107AE" xml-lang="en-US" l10n="NEW">Index</paragraph> 157</tablecell> 158<tablecell colspan="" rowspan=""> 159<paragraph role="tablecontent" id="par_idN107B4" xml-lang="en-US" l10n="NEW">The row and column totals and the grand total, following the same rules as above, are used to calculate the following expression:</paragraph> 160<paragraph role="tablecontent" id="par_idN107B7" xml-lang="en-US" l10n="NEW">( original result * grand total ) / ( row total * column total )</paragraph> 161</tablecell> 162</tablerow> 163</table> 164 165<bookmark xml-lang="en-US" branch="hid/sc:ListBox:RID_SCDLG_DPDATAFIELD:LB_BASEFIELD" id="bm_id7005523" localize="false"/> 166<paragraph role="heading" id="par_idN107BA" xml-lang="en-US" level="3" l10n="NEW">Base field</paragraph> 167<paragraph role="paragraph" id="par_idN107BE" xml-lang="en-US" l10n="NEW"><ahelp hid="1495371267">Select the field from which the respective value is taken as base for the calculation.</ahelp></paragraph> 168<bookmark xml-lang="en-US" branch="hid/sc:ListBox:RID_SCDLG_DPDATAFIELD:LB_BASEITEM" id="bm_id8070925" localize="false"/> 169<paragraph role="heading" id="par_idN107C1" xml-lang="en-US" level="3" l10n="NEW">Base item</paragraph> 170<paragraph role="paragraph" id="par_idN107C5" xml-lang="en-US" l10n="NEW"><ahelp hid="1495371268">Select the item of the base field from which the respective value is taken as base for the calculation.</ahelp></paragraph> 171</body> 172</helpdocument> 173