Hi Sam, Sorry for the confusion. Yes, it is the same problem. I was just trying to simplify the problem by using a generic header (Calculated Item 1,2,3) instead of bogging anyone down with the actual variables (i.e. OrderTotal). I had to start quoting the actual variable name when we started to talk in detail. You bought up a very good point about missing data or some incorrect data messing up the calculations. However, if it is a missing data issue, would you say that it will affect the aggregated measure as well? I am just a beginner using SAS Viya and I am very thankful for your help and inputs. 🙂 I will take a look at the example but I am not very confident of doing coding in SAS (or anywhere) though.
... View more