Data Model Measures - Min and Max

unnskyld

New Member
Joined
Oct 20, 2021
Messages
1
Office Version
  1. 365
Hello there,

Apologies to share a link to the spreadsheet I'm referring to - Spreadsheet File

I'm new to the Data Model and Measures so the way I've designed my spreadsheet probably needs a bit of TLC.

I have a staff table and a table with how many hours each staff member has worked for the last year. The two are connected in the data model and I have made a measure that calculates the % of hours worked against FTE (full term equivalent) based on 1 FTE being 1950 hours per year (37.5 * 52).

The PivotTable, with the measure, shows the average % of each department. I need an additional column that shows the minimum % for a colleague within each department worked and an additional column that shows the maximum % for a colleague within each department.

Example - Agnieszka Cousins worked 882% and is the max for Department A, Trish Lodge 98% is the min. I'm looking to return the max and the min figures only for each department, without the colleagues listed.

What is the best way to achieve this? (Disclaimer - Data is fake/random and this is not real data)

Tusen takk! (Thank you!)
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,223,696
Messages
6,173,884
Members
452,536
Latest member
Chiz511

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