The daily activity table contains fine-grained data. Now I want to create two columns in the Master table which contains sum of EventDuration and NumberofConsumers columns of the Daily Activity table when both tables have the same EpochHH.
Hi @leo_89,
I see no reason for you to use a calculated column. Your can just use two measures that show the total event duration and total number of customers for any given EpochHH number (I assume that’s what you want to achieve). If you mean another thing please explain more. thanks.
@HASSAN_BI thanks for your reply. I am interested in creating columns, not the measure. The reason is that these values are important in my calculations and these columns will be the foundation of many other measures.
@leo_89,
okay i get. You, but if you just one the duration and number of customers why did you use the filter EpochHH = Max ('EpochHH) ? why didnt you just use :
Same EpochHH Sum EventDuration = CALCULATE(SUM(‘Daily Activity’[EventDuration]) ) ?