5 Replies Latest reply: Jul 15, 2014 1:53 PM by Wossen Kebede RSS

    Aggregate sum

    Wossen Kebede

      Hi,

       

      Based on the attached table 1, I want to create table 2 in QlikView. Can any body give me a hint?

       

       

      Thanks,

      Wossen

       

       

      I have two tables as it shown on the attachment (Plan Time.xls). One is for Actual time table that shows hours for different employee who spent their time on different clients. The second one is the Plan time table. I was trying to show on QlikView exactly what it has shown as Plan Vs. Actual table. I use the expression 'Aggr(Sum(Hours), Client='A' , Employee)' for Actual time and 'Aggr(Sum(A), Employee' for Plan time and this works well for  some of employee but not for all. For example for employee Peter I get 90 Hrs under the 'Actual A' column which is correct, but for the rest of employee it gives me the total value of 642 instead of zero. And the result is the same under 'Plan A' column as well. I get 100 Hrs for Peter and instead of zero for the rest of employees, it gives me the total value of 690.

      I used Employee for Dimensions

       

      Can anybody please advise me what I missed here?

       

      Thanks,

      Wossen