Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I've created one variable like
vCurrMonth = Max(Month(Today())-2)
And i've create object. I want to show Label like Actual(Jul) --
In future, we change the variable like =Max(Month(Today())-1) -- I want label like Actual(Aug) -- Like that
I've attempt this
='Actual' & chr(32) & '(' & Date#(Max(Month(Today())-2),'MMM') & ')'
It is giving Actual(7) -- I want Actual (Jul)
Can anyone assist me?
Ok. then try like this..
='Actual' & chr(32) & '(' & Date(Date#($(vCurrentMonth),'M'),'MMM') & ')'
Have you tried this?
='Actual' & chr(32) & '(' & Date(Date#(Max(Month(Today())-2),'MMM'),'MMM') & ')'
or
='Actual' & chr(32) & '(' & Date(Max(Month(Today())-2),'MMM') & ')'
Did you try this:
vCurrentMonth = Max(MonthName(Today())-2)
='Actual' & chr(32) & '(' & Month(Max(MonthName(Today())-2)) & ')'
Settu,
I've done these while i have the calculated variable,
But what i did is - I've created one static variable like vCurrMonth = 7
Expression is this.
='Actual' & chr(32) & '(' & $(vCurrentMonth) & ')'
Label showing like Actual (7) - I want to show 7 instead of Jul. Does it possible?
Ok. then try like this..
='Actual' & chr(32) & '(' & Date(Date#($(vCurrentMonth),'M'),'MMM') & ')'
Rocking