Hi community. I am trying to predict the number of defects in future months based on linear regression of data from prior months. I am trying to do this in a straight table which shows multiple products that live in different business units (BU). My problem is that unless I filter on a single product the formula is returning the same value for all products. I would guess it has something to do with the aggr or total functions in my expression or calculated dimension, but can’t seem to figure out the problem. Can someone please look at the code below or the attached sample QVW and let me know what I’m doing wrong?
Calculated Dimension for Product (used to exclude products that don’t have data relevant to my table):