Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am facing issue with addmonths fucntion.
I have chart having dimension Product & product group. I want to show opening balance as closing of prev month.
I am using expression as sum({<MonthYear = {'$(=addmonths(MonthYear,-1))'}>} Amount) but its not working..
Please help me out to write the expression for getting previous month amount
Hi,
Got the answer..
sum({<MonthYear= {'=AddMonths(MonthYear,-1)'}>}Amount).. not required $
How your are creating MonthYear field?
Month(Date)& Year(Date) or using MonthName function?
Celambarasan
Hi,
I am using monthname function..
For testing purpose when I am writing expression: addmonths(Monthyear,-1) in text object. I am selecting year 2013 month Apr then getting Mar 2013.. So MonthYear field is proper.
Hi,
Got the answer..
sum({<MonthYear= {'=AddMonths(MonthYear,-1)'}>}Amount).. not required $