SSAS Aggregation on Distinct ID
问题 I wish to change the default aggregation from SUM to SUM on Distinct ID Values. This is the current behaviour ID Amount 1 $10 1 $10 2 $20 3 $30 3 $30 Sum Total = $90 By default, I am getting a sum of $90. I wish to do the sum on distinct ids and get a value of $60. How would I modify the default Aggregation Behavior to achieve this result? 回答1: Design your data as a many-to-many relationship: create one table/view having one record per ID and the amount column from the data shown in your