in

 

Display health as of the last day of last month.

Last post 03-13-2008 9:29 AM by dallen. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-13-2008 9:29 AM

    • dallen
    • Top 75 Contributor
    • Joined on 10-19-2006
    • Seattle
    • Posts 10

    Display health as of the last day of last month.


    Create 2 queries:

     

    ·         Query1 = 2 coulmns, 1 filter

    o    Projects.Projects.ProjectID (or project name if they are always unique)

    o    Maximum(Presentation.project history.Updated on) – this grabs the last “updated on” record for each project. Should only have one record display per project

     

    ·         Query 1 filter will be:

    o    [Presentation.project history.updated on] < _first_of_month(current_date) – defines that you only want records that occurred previous to the first day of the current month.  Make sure to either drag over a new instance of “updated_on” from the "insertable objects window" project history because if you use the field in the “data items” view, it will be filtering it twice.

     

    ·         Query2 = 3 columns, no filter

    o    Presentation.project history.ProjectID

    o    Presentation.project history. Updated On

    o    Presentation.project history. Health

     

    ·         query3 Joins them together

     

    o    Join on ProjectID “and” Updated On

     

    ·         query3

     

    ·         add the following columns from query 2

     

    o    ProjectID

    o    UpdatedOn

    o    Health

     

    Add Health from query 3 to the report.

     

    When I added this to the report, I created a “master – detail” relationship between this query and the “master” query so we would be using the same project to determine the health.

    Dave Allen
    Program Manager - Daptiv
Page 1 of 1 (1 items)

Navigate: Home | Blogs | Forums | Solution Library  Get Help:  Contact | Feedback | FAQ   Terms of Use:  Terms & Conditions | Privacy Policy