User Tools

Site Tools


help-wiki:making_a_pivot_table

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
help-wiki:making_a_pivot_table [2023/08/31 11:13]
cds4byu
help-wiki:making_a_pivot_table [2023/09/01 09:54] (current)
cds4byu
Line 10: Line 10:
   -If the data to be placed in the Values area is numeric, click on the name of the field and drag it to the Values window.  You may wish to change the formula in the value field from Sum of Values (default) to something else (Count, Maximum, Minimum, Average, etc.)   -If the data to be placed in the Values area is numeric, click on the name of the field and drag it to the Values window.  You may wish to change the formula in the value field from Sum of Values (default) to something else (Count, Maximum, Minimum, Average, etc.)
   -If the data to be placed in the Values area is text (like NetID), you will need to create a new Measure for that data, as follows:   -If the data to be placed in the Values area is text (like NetID), you will need to create a new Measure for that data, as follows:
-    -Right-click on Table 1 in the field list, and select Add Measure +    -Right-click on Table 1 in the field list, and select Add Measure{{ :help-wiki:screenshot_15_.png?direct&400 |}} 
-    -When the Measure window pops up, type in a measure name (List of NetIDs in this example; you can make it be whatever you want).  Enter the following formula in the Formula window: =ConcatenateX(Table1, Table1[NetID], ", "). Note that Table1 is the name of the data table from which the pivot table is created, and NetID is the name of the text field you wish to display in the values area of the pivot table. Change the name of the data table and/or the text field as needed for your situation.+    -When the Measure window pops up, type in a measure name (List of NetIDs in this example; you can make it be whatever you want).  Enter the following formula in the Formula window: <code>=ConcatenateX(Table1, Table1[NetID], ", ")</code>. Note that Table1 is the name of the data table from which the pivot table is created, and NetID is the name of the text field you wish to display in the values area of the pivot table. Change the name of the data table and/or the text field as needed for your situation.{{ :help-wiki:screenshot_16_.png?direct&400 |}}
     -Click OK on the Measure window     -Click OK on the Measure window
-    -Now, go to the Pivot Table Fields list, and you should have a new field to choose from.  Select the checkbox for the field, and it will go into the Values area. +    -Now, go to the Pivot Table Fields list, and you should have a new field to choose from.  Select the checkbox for the field, and it will go into the Values area.{{ :help-wiki:screenshot_18_.png?direct&400 |}} 
-    -Turn off the row and column totals by selecting Pivot Table, Options, then the Totals & Filters tab, and clearing the Show grand totals for rows and Show grand totals for columns checkboxes.  Then click OK+    -Turn off the row and column totals by selecting Pivot Table, Options, then the Totals & Filters tab, and clearing the Show grand totals for rows and Show grand totals for columns checkboxes.  Then click OK {{ :help-wiki:clear_totals_2_.png?direct&400 |}}
  
 That should do it.  You now have a pivot table.  You can copy and paste the data anywhere it is needed. That should do it.  You now have a pivot table.  You can copy and paste the data anywhere it is needed.
  
  
help-wiki/making_a_pivot_table.1693501996.txt.gz · Last modified: 2023/08/31 11:13 by cds4byu