I have a stacked table that I am making control charts from. I have a report window, and I am appending a Control Chart Builder to a VListBox in this window. To the control chart builder, I have added a local data filter on the column that indicates which parameter my data belongs to. So to simplify, you can imagine my data table has 4 columns:
- Batch - Used to group the data on the x-axis of my control chart
- Status - Used to identify if a batch has been reviewed or not
- Parameter - Used to identify what the Result value represents
- Result - The numerical data being charted
In my table, anything that has not been reviewed has a status of P, and I have those rows excluded in my table. I want to be able to see them on control charts, but I do not want them to be factored into 3-sigma calculations. The challenge I am running into is that the excluded data points are not showing up on my chart. I have the local data filter in Show and Include mode. When I select the "Show Subset" option from the local data filter, I can see the excluded rows are in the subset, but on the chart there are just missing dots where the excluded batches should be. If I turn off the Include mode, I can see the data points, but then the data itself makes no sense. I end up seeing what looks to be an average all data points in the set, regardless of which parameter I have chosen.
If I instead run a control chart builder using the By( :Parameter ) setting, I can see the excluded points just fine. Why does the local data filter cause the chart to not show the excluded points, even if they show up in the subset data that is supposedly being used to make the chart? Is there a fix for this?