Unanswered semi additive measures

  • martes, 08 de mayo de 2012 18:44
     
     

    I have a fact table as below:

    PID              EKG UniqueNumber ActivityDate  QuantityonHand  ActivityTime

    4                  140   623  01-01-2012 0 45678

    4                 141   624                01-01-2012        1                          45689

    5                 120    323              03-03-2012        1                           56324

    5                 120    323              03-03-2012        1                           75423

     In the above, I need to get for each product, get the max quantity on hand at the end of the day. Any suggestions are helpful






    • Editado san463 martes, 08 de mayo de 2012 18:45
    • Editado san463 martes, 08 de mayo de 2012 18:45
    • Editado san463 martes, 08 de mayo de 2012 18:46
    • Editado san463 martes, 08 de mayo de 2012 18:46
    • Editado san463 martes, 08 de mayo de 2012 19:28
    • Editado san463 jueves, 10 de mayo de 2012 13:43
    •  

Todas las respuestas

  • miércoles, 09 de mayo de 2012 15:04
     
     

    Could you please follow the link, hope it will help you.

    http://www.sql-server-performance.com/forum/threads/semi-additive-measures.2774/