Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date-Time to Day

Status
Not open for further replies.

shelldataguy

Technical User
Aug 7, 2003
2
0
0
US
I am retrieving data using Cognos Impromptu that includes date-time fields. It is a rather large database. I am looking to calculate averages and trend based on day of week (i.e. average Monday). What is the easiest way to pull my report and convert the date-time fields to day?
 
You may have to create a crosstab report with Weeks and Years as the rows and have Days as the columns. The Cells would contain your averages.

Example below.

MONDAY TUESDAY WEDNESDAY ...
2003 Jan Data Data Data
Feb ...
Mar
...
 
You can use the date-time to date function that comes with Impromptu. If memory serves, there is also a day of the week function that can be used in a calculation to acheive the results that you are after.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top