Need solution to display rolled up values in a pivot table

AT1

New Member
Joined
Feb 27, 2020
Messages
5
Office Version
  1. 2016
Platform
  1. Windows
I am using Excel 2016 and need a PowerPivot solution for the following situation.
I have a table with 5 columns. The names (and data types) of each column: Location (text), Name (text), Weekending (date), ShiftDate (date), TotalHours (int).
All dates in the Weekending column are Sundays which represents a rollup of all dates in the ShiftDate column.
For example, the Weekending column shows 10/6/19 for all corresponding ShiftDates between 9/30/19-10/6/19 and so on.

1582815363814.png



I would like to create the following pivot table:
Filter: Location
Rows: Name
Column: Min TotalHours of all Weekending weeks
Column: Max TotalHours of all Weekending weeks
Column: Avg TotalHours of all Weekending weeks


1582815442403.png


The issue I am having is that when using Min/Max/Avg, the pivot table is only able to recognize the values in the TotalHours column (which is based on ShiftDate) and I need the rolled up TotalHours based on the Weekending column.

Get and Transform works beautifully as a solution, but I need something in PowerPivot.

Thank you.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
It sounds like you need a measure to sum the hours, then create separate measures that are basically something like MINX(VALUES(Weekending),TotalHours) and so on.
 
Upvote 0

Forum statistics

Threads
1,223,803
Messages
6,174,689
Members
452,577
Latest member
Filipzgela

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top