Forum Replies Created

Viewing 3 posts - 16 through 18 (of 18 total)

  • RE: cross tab or pivot data help

    Hi Antonio

    this is an amended code from what you suggested.

    ===

    SELECT YEAR(DATEADD(month, - 1, ShiftDate)) AS fiscal_year, SUM(CASE WHEN month(ShiftDate) = 7 THEN TotalHrs END) AS Jul,...

  • RE: cross tab or pivot data help

    Hi folks

    thank you for your patience, i've managed to run the code now without any errors. the result set returned by the grouped query is:

    In columns > fiscal_year then Julhours...

  • RE: cross tab or pivot data help

    Hi, thank you for your replies.

    i tried antonio's grouped query suggestion but i rec'd an error 'invalid column name TotalHours'

    this is what i did, i created a new View in...

Viewing 3 posts - 16 through 18 (of 18 total)