Jun 16, 2004 #1 legrev Programmer Nov 4, 2002 11 PH Hi! I'm quite new to BO... Can anyone help me on converting numbers to months (eg. 1 -> January)? Thanks in advance!!!
Hi! I'm quite new to BO... Can anyone help me on converting numbers to months (eg. 1 -> January)? Thanks in advance!!!
Jun 17, 2004 #2 blom0344 Technical User Mar 20, 2002 3,441 NL 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 Upvote 0 Downvote
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