I'm trying to receive todays month
Posted: Thu Jan 07, 2021 7:24 am
Hey , so I need to create a rolling average for the past 3 months.
I am trying to get the current month (In dimension as 'mmm YYYY' for example 'Jan 2021'
I Am Using this
The part of it keeps giving me an error saying invalid numeric expression. I'm not sure if its because it is really late but for some reason I cannot seem to figure out the problem!!!!!!
I am trying to get the current month (In dimension as 'mmm YYYY' for example 'Jan 2021'
I Am Using this
Code: Select all
sCurrentMonth = ATTRS(sDim, (TIMST('\M') | (SUBST(TODAY(1), 1, 4))), 'PriorPeriod');
The
Code: Select all
(TIMST('\M') | (SUBST(TODAY(1), 1, 4)))