Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hola Estimados. Espero me puedan ayudar con este problema que he tratado de resolver de distintas formas pero no he llegado a la solución.
Tengo en un campo llamado PERIODO un texto que junta año y mes, de esta forma "2018-01","2018-02","2018-03" y asi sucesivamente. Lo que necesito es poder mostrar en una tabla solo el mes, pero con palabras, asi: "ene","feb","mar", .....
Lo estoy haciendo de esta forma pero no me funciona.
MonthName (mid([Período],6,2),'MMM') as Mes
Anteriormente separé el año y me funcionó sin problemas.
Me pueden ayudar por favor?
Gracias!!!
Hello
You can use this:
Date(Date#([Período],'YYYYMM'), 'MMM')
If maybe you need put in filter for select especific Month use this:
Text(Date(Date#([Período],'YYYYMM'), 'MMM'))
If it's a correct answer, mark CORRECT
Hello
You can use this:
Date(Date#([Período],'YYYYMM'), 'MMM')
If maybe you need put in filter for select especific Month use this:
Text(Date(Date#([Período],'YYYYMM'), 'MMM'))
If it's a correct answer, mark CORRECT
Thanks a lot.
The second choice works for me!!!
Regards
Juan
Good, mark correct answer for close this Topic.