I'm having trouble with the aggregation of a measure. The real world scenario is that the customer wants to analyze ratio of number of purchases made over the number of customers entered the store for that week. We know how many customers entered for each week and how many purchases were made along with the Purchase Types (Expensive, moderate, cheap). Because there are different Purchase Types, multiple rows are created for that location and for that week. Therefore same measure (NumberOfWalkInCustomers) is replicated.
These are the records. NumberOfWalkInCustomers are the totals per the Location and the WeekStartDate only. The duplicated rows are the result of the purchase Types. Without any dimensions in place, the sum looks like 850 but I would like to see the total as 650 because that's the total of Customers entered to those two locations in those two weeks.
What i would like to see is when I aggregate within the location and the date dimensions, the measure would get summed up. How can I avoid the sum aggregation when other dimensions are in place?
If we have Date, Location and Purchase Type dimensions all in the report, it looks okay But when I remove the Purchase Type Dimension, I want the Location1 to show still 100 because Purchase type doesn't affect the number of customers entered to a location. However, when I remove Date Dimension, I would like to see 250 (100 from Week1 and 150 from Week2 added up) for Location1. The website allows me to add only two links. Sorry.