baltjazz08
New Member
- Joined
- May 3, 2011
- Messages
- 9
I am pulling dates from MS Query into Excel, with the ultimate aim of being able to group the dates being pulled by month in order to do counts by category within that month. Doing this in Excel through a pivot table has proven extremely difficult (although we may revisit that in a subsequent question). Trying to apply the same syntax for an Excel date conversion to do an in-line transformation (as the data is being pulled) has not worked. Examples of the syntax I have treied unsuccessfully so far are provided below:
To_date((HPD_Help_Desk.Reported_Date, 'MM-YYYY’) Month_year
INT(HPD_Help_Desk.Reported_Date-DAY(HPD_Help_Desk.Reported_Date) +1)+0
So the underlying question is whether it is better to pull the data in the form that I want it originally, or to set up the data in a manner that makes the development of a pivot table possible. Any help in solving this puzzle would be greatly appreciated.
Regards,
TJ
To_date((HPD_Help_Desk.Reported_Date, 'MM-YYYY’) Month_year
INT(HPD_Help_Desk.Reported_Date-DAY(HPD_Help_Desk.Reported_Date) +1)+0
So the underlying question is whether it is better to pull the data in the form that I want it originally, or to set up the data in a manner that makes the development of a pivot table possible. Any help in solving this puzzle would be greatly appreciated.
Regards,
TJ