# 7.2 Rows, Columns, Values आणि Filters

Source: https://ravindrabagale.com/mr/excel/ch07-pivottables-and-pivotcharts/7-2-field-areas-rows-columns-values-and-filters.html
Language: mr (Marathi with English technical terms)

PivotTableमध्ये field कुठे ठेवता यावर reportचं रूप ठरतं. एकच data वेगवेगळ्या प्रश्नांसाठी वापरता येतो.

 | Area | इथे काय ठेवायचं? | Example

 | Rows | खाली-खाली दिसणारे groups. | City, त्याखाली Area.

 | Columns | डावीकडून उजवीकडे तुलना. | Platform.

 | Values | Calculate करायचा number/count. | Sum of Amount, Count of Order ID.

 | Filters | पूर्ण Pivotला लागू होणारा filter. | Status = Delivered.

City × Platform

City Rowsमध्ये, Platform Columnsमध्ये आणि Amount Valuesमध्ये ठेवा.

 | City
 | Amazon Now
 | Blinkit
 | Grand Total

 | Kolhapur
 | 232
 | 
 | 232

 | Nagpur
 | 
 | 240
 | 240

 | Nashik
 | 
 | 360
 | 360

 | Pune
 | 110
 | 434
 | 544

 | Sambhaji Nagar
 | 195
 | 
 | 195

 | Solapur
 | 
 | 1,299
 | 1,299

 | Grand Total
 | 537
 | 2,333
 | 2,870

Layout वाचायला सोपा करा

Design › Report Layout › Show in Tabular Form.

Repeat All Item Labels केल्यावर प्रत्येक rowवर group label दिसतो; copy/exportसाठी उपयोगी.

Design › Grand Totals / Subtotalsमधून हवे ते totals चालू किंवा बंद करा. Blank Rows आणि PivotTable Stylesने spacing/style ठरवा.

Valueवर right-click › Number Format किंवा Value Field Settings › Number Formatमध्ये rupee format द्या.

PivotTable Options › Layout & Format › For empty cells show मध्ये 0 द्या, जर रिकामी combination खरंच zero म्हणून दाखवायची असेल.

No data आणि actual zero यांचा business अर्थ वेगळा असू शकतो. Displayमध्ये 0 दिल्याने sourceमध्ये missing records तयार होत नाहीत.

Practice

Area Rowsमध्ये, Platform Columnsमध्ये, Sum of Amount Valuesमध्ये ठेवा. Tabular Form, repeated labels आणि rupee number format लावा. एक नवीन row sourceला जोडून Refresh केल्यावर format राहतो का पाहा.

स्वतः करून पाहा: छोटा Pivot demo

हा शिकण्यासाठी बनवलेला browser demo आहे; Excelचा screenshot नाही. Group आणि filter बदलून खाली summary कशी बदलते ते पाहा.
या demoचा काल्पनिक source data
 | Order ID | City | Platform | Amount ₹

 | P101 | Pune | Blinkit | 120

 | P101 | Pune | Blinkit | 80

 | P102 | Pune | Amazon Now | 110

 | N201 | Nashik | Blinkit | 240

 | N202 | Nashik | Amazon Now | 160

 | P103 | Pune | Blinkit | 90

Rowsमध्ये काय ठेवू? CityPlatformCity filter सर्व CitiesPuneNashik
Values: Sum of Amount, row count आणि distinct orders
 | City | Amount ₹ | Rows | Distinct Orders

 | Pune | 400 | 4 | 3

 | Nashik | 400 | 2 | 2

Total ₹800 · 6 rows · 5 distinct orders.

लक्ष द्या: P101च्या दोन product lines आहेत. म्हणून Puneचे 4 rows म्हणजे 4 orders नाहीत; orders 3 आहेत.
Controls वापरण्यासाठी JavaScript आवश्यक आहे. वरचा default result sourceमधल्या सर्व rowsचा Cityनुसार summary आहे.

रवींद्र बागले यांची tip

फक्त cells select करून Homeमधून number format लावण्यापेक्षा Value Field Settingsमधून लावा. Fieldचा format नीट टिकतो आणि नव्या itemsनाही लागू होतो.
