Excel Pivot move result row to first row - excel

I am primarly a programmer and dont work often with Excel, but no I have to build a Report. I guess this is a very easy Problem or not possible at all, but i could find nothing by myself
I made a Pivotreport, and now I want to move the Overall-Sum to the front of the Report, so that if somebody reads it, he sees the overallnumbers first.
I only have a german Excel, so I dont know the english names here, I hope the screenshot makes it clear:

This is possible to do using Slicers, running two pivot tables, and hiding unnecessary columns.
I built a sample table to work with that can be applied to your data:
Select your pivot table to open the Pivottable Tools menu, then click on "Insert Slicer":
Select the fields you would like to be able to filter:
Copy and paste your entire pivot table into a new sheet. Ensure it remains a pivot table when you paste it.
In the newly copied pivot table, remove all columns so that you have just Row Labels and Grand Totals remaining:
Return to the original pivot table and insert three columns to the left of the pivot table:
Navigate back to the copy of your pivot table and copy this trimmed down pivot table:
Return to the original pivot table and paste it into the range to the left of the pivot table (leaving a blank column in between):
Hide the Row Labels on the pivot table on the right side, shrink the blank column between the two pivot tables, and rearrange your slicers:
You now have the Grand Total at the beginning of the pivot table and it can be filtered via the slicers.

Related

How to transpose Excel Pivot table

I have source table where I have every number category in separate column (something like already pivoted).
I would like to create pivot table, where division are in columns and number category in rows.
I need to transpose columns with rows from this layout:
to something like this:
Is it possible within standard pivot without Power query and unpivoting my data? (I guess with PQ it would be bigger and took longer to refresh).
In the pivot field pane, drag Values from the Columns box to the Rows box, and drag Divisions from the Rows box to the Columns box.

Pivot Table sorting - category instead of "Values"

Below is the extract of a table i want to sort
I'd like to create two Pivot Table in two separate sheets so that I only have the start and end Dates corresponding to only one of the two categories, i.e AC156 or AC157
Extract of the result tables
Since the source list keeps getting updated, I'd really like to do this using Pivot Tables so that I can keep refreshing it.
It seems simple enough but I'm admittedly quite new to Pivot Tables. Any help would be appreciated.
Highlight your data table;
Insert a pivot table;
Put all three columns into Rows field;
Right click somewhere within the pivot table, go to PivotTable Options, go to Display, select Classic PivotTable layout (enables dragging of fields in the grid);
If your pivot table has grouped the dates by month, un-check Months2 in the data fields but leave Months if you want to sort by Start date;
If you pivot table has shown the subtotal for start date, right click the subtotal row and deselect Subtotal 'Start'.
You can make a copy of the pivot table, filter the Cat, sort the Months and then Start, then you should have:

Excel - Dynamic Pivot Table that ignores blank rows and subtotal rows

So, I have this dynamic pivot table grabbing data from another sheet/tab called Data Import. In Name Manager, this is what I have for the pivot table:
=OFFSET('Data Import'!$A$6,0,0,(COUNTA('Data Import'!$A:$A)),14)
The pivot table work beautifully when I don't have blank rows or rows that have subtotals throughout the middle of the record (Data Import tab), but when I do, my dynamic pivot table doesn't show the last 10 or 12 rows of data.
Is there a way of getting around this without adding "+20" at the end of the COUNTA() function in my name manager.
Thanks!

Combining Column Values in an Excel Pivot Table

In order to simplify a stacked bar chart, I am looking to sum up the counts of multiple columns I have in my pivot table. For example, in this sample table, I would like to combine Fruits and Vegetables into one column, so that each bar will comprised of three colors: one for Meats, one for Grains, and one for Fruits+Vegetables.
Pivot Table and Stacked Chart
For reference, this is the data source:
Data Source table
I tried adding a Calculated Field, but I'm not sure if I can use specific values from a column in the Formulas field. Is there a way to create something like this from a pivot table, or should I be taking a different approach to this all together?
I'm using Excel 2016, -- pretty sure it's the same with older versions, but the premise is the same.
In your pivot table, Select the Pivot Table Tools> Analyze tab, then "Fields, Items",then pull down to"Calculated fields". Enter a name for the generated field, and the formula you want to use:
In my example, I added the fields Fruit and Vegi's from my available pivot table fields (which is based on my data table).
Then select the calculated field as you would any other..
and create the chart as usual.
Hope this helps.

Power Pivot, Pivot Table can't expand field after Filtering

I'm having problems with my pivot table, the data is created from Power Pivot.
I filtered my main field by a specific Name, and lose the + expand field and all of the rows not in my filter become hidden (please see example screenshot).
I tested created a regular pivot table and this error doesn't show up.
Please advise, thanks!
The blue row heading indicates that the filtering is not done with the pivot table tools. If you filter the pivot table headings, you can still expand and collapse the pivot rows and the row headings stay black. If, however, you have a spreadsheet filter outside of the pivot table, that filter will turn filtered row headings blue and may hide the rows into which the pivot table expands.

Resources