Dave,
Thank you for your continued suggestions, and I apologize for the delay in my response. I have been flogging this since I returned to the office on Monday.
Using your notation I believe that the difficulty comes from the fact that although there is only one XLS.amount for each id#, there are varying multiple UNV.amount’s. So BusObj creates a separate row for each UNV.amount, which show if the Avoid Duplicate Rows Aggregation box is checked. If the Avoid Duplicate Rows Aggregation box is not checked then only 1 row per id# is displayed, and all the UNV.amount’s for each id# are implicitly summed and displayed as the value for that row and column.
What I need is for that single summed value to appear when the Avoid Duplicate Rows Aggregation box is checked. Presumably then I could use that single summed value along with the XLS.amount to calculate a new value which I could then use to filter out the id#'s for which the XLS.amount and the summed UNV.amount are within 1 of each other.
With respect to your enumerated steps, I admit to quickly becoming somewhat confused. According to the reference I’m using (Business Office: The Complete Reference by Cindi Howson, 2003 ed.) Projection Aggregates can only be set by a universe designer. For various administrative/managerial reasons this is very difficult to do in my shop, although I am trying.
Perhaps, though, you mean using context operators; i.e. Sum(<UNV.amount> context_operator InputContext) context_operator OutputContext? If so, I have been trying every reasonable combination I can think of, but I cannot get the desired result to appear.
I did try defining a filter, similar to your suggestion, only as Abs(<XLS.amount> In <id#> - <UNV.amount> In <id#>) >= 1, but it didn’t work, aggregated or not. But there were those multiple rows per id# when not aggregated, which I haven’t been able to eliminate.
I’ve also tried drilling and constructing a new block whose columns are defined upon the original, to no success. Perhaps, if there actually is a solution of that sort I just haven’t found the right combination of setup details.
Further thoughts and suggests will be, as always, quite welcome.
Kent Wendler (BOB member since 2006-01-20)