The scenario is this:
We are joining several data sets and one has a many:many relationship. To resolve this, we will look for the oldest record. I'm able to get this to work just fine with one minor wrinkle: I still need to display the detail fields that get removed in the aggregation process in the calculation view.
Sample Data:
Material | Case | Date |
---|---|---|
XXX | 123 | 20130228 |
XXX | 456 | 20130217 |
XXX | 789 | 20130303 |
Customer | Material | Quantity |
---|---|---|
ABC | XXX | 100 |
DEF | YYY | 75 |
I'm joining the material table to the transaction data, but need to pull only the oldest record. The trick is that I need to also show the case # on the oldest record. In the calculation view, if I include Case in the output, then the date field doesn't aggregate. If I remove the Case field, then it aggregates perfectly, but I'm no longer able to display case "456" in the final result set.
Anyone know of another technique that will work?