Added
A retailer combines a large transaction table with a product dimension in a graphical calculation view. The transaction table is partitioned and contains several billion rows, while the product dimension is small and frequently updated. Reports need transaction measures grouped by product attributes, and users sometimes filter on product attributes before aggregation. The team wants the database to push aggregation as close to the transaction source as possible without changing the reporting grain or introducing duplicate measures. Which node design is the best starting point?
Aggregating the fact data by its dimension join key before the join reduces rows early while preserving the measure grain needed for product-level reporting. The dimension attributes can then be joined to the aggregated result. Joining first can force a much larger intermediate result, especially with the stated fact-table size. A union combines compatible row sets rather than relating facts to dimensions. Rank would discard transactions and is not a substitute for measure aggregation.