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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help on Date Conversion

Status
Not open for further replies.

legrev

Programmer
Nov 4, 2002
11
0
0
PH
Hi! I'm quite new to BO... Can anyone help me on converting numbers to months (eg. 1 -> January)?

Thanks in advance!!!

 
1. Universe-level

Use either a database-function (MONTHNAME) or a CASE statement on an object to work in the conversion

2. Report-level

Use an extensive If .... then .... else
formula on a new object, like:

= If(<field>=1) Then "January" Else
If(<field>=2) Then "February" Else
..................

3. Report-level 2

Create a grouping variable with 12 groups. Call the groups the names of the months and assign the numbers 1-12 to the groups.

Universe solution is really the fancy one!

T. Blom
Information analyst
tbl@shimano-eu.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top