Average Column in Pivot Table

Maryna

New Member
Joined
Dec 3, 2019
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Hi, please help, I'm struggling to wrap my head around the measure that should be created. I can easily do this for a static table but would like the table to be dynamic. I am creating a x bar s bar control chart.

I have created a pivot table based on power query. The original table has a column called 'Value'. When creating the pivot table I added 'Value' and the data is sliced by 'Injection Date and Time' and the values are summarized by average to get x bar [per Inject Date/Time]. I added 'Value' again and summarized by STD DEV to get StdDev [per Inject Date/Time].

x double bar is the average of 'Value'. I created this as a calculated column in power pivot by averaging 'Value'.

(I know x bar is correct because when I manually check the data by averaging the x bar values I get the x double bar value calculated in the power pivot)

Now the part I am struggling with is to average StdDev [per Inject Date/Time] in the pivot table to get s bar [Calculate average of STD DEV if Injection date and time is equal]

Table Name = ICPOES
There is a calendar table and there is a relationship between 'Date' in the calendar table and 'Batch Date' in the ICPOES table

There are always 15 'Value' with same Injection Date and Time (i.e. subgroup, n = 15)

Any assistance on how to calculate s bar using power pivot?
 

Attachments

  • Untitled.png
    Untitled.png
    180.9 KB · Views: 7

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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