hola,
Tengo un campo en mi tabla que me muestra de forma automatica el mes Actual, y nesecito otro campo donde me lea el mes actual y como resultado me muestre el mes anterior.
es decir: si el campo registra Mes de marzo entonces que me registre febrero.
¿hay algun componente que me permita hacerlo?
If you’re calculating the current month using a math column:
YEAR(N)*10^2+MONTH(N)
With N being the “Now” value, the formula gives you 202504 as today is April 1st.
You can use this to get the last month.
YEAR(N-DAY(N))*10^2+MONTH(N-DAY(N))
Which gives you 202503.
I’m not sure if you need to format it in a specific way, it would need some adjustments if you need it.
excelente,
gracias
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.