Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Month to Month Number text

Good Morning

As I can convert the month field is numeric and take the value corresponding text

1 - Jan

2 - Feb .. to reach 12 - Dic

But this field is stored in a SQL Server table where only this number between 1 and 12, the display information

It is shown as follows:


Mes Numero.jpg

but I need to be displayed as follows.

Mes Nombre.jpg

and and tried to MonthName but it does not work, any help is appreciated them.

7 Replies
marcus_sommer

For monthname() you need a real date-field. Isn't there such a field you could one create with makedate(). But it could be easier simply to map these values with a pick(match()) funtion like:

pick(match(MES, 1,2,3,...), 'Ene', Feb', ...)

- Marcus

Clever_Anjos
Employee
Employee

Please try:

=SubField(MonthNames,';',MES)

settu_periasamy
Master III
Master III

May be try like this..

=Month(Date#(MES,'M'))

Not applicable
Author

Thank you very much for the information

Not applicable
Author

Thank you very much for the information

Not applicable
Author

Thank you very much for the information

Not applicable
Author

thank you very much for the information, the three forms serve to perfection.