Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
How can i write the expression for yesterday. I want to get the sum of sales for yesterday using expression. Please help me..
Thanks
Renjith Kumaran
Try sum({<MyDate={'$(=date(today()-1))'}>} sales). Change MyDate to the name of your date field and sales to the name of your sales field.
No, It gives me off values..
You can try it with Double Quotes maybe
SUM({<Date = {"$(=DATE(TODAY()-1))"}>} Sales) |
That too gave me off values..
My situation is that i have two dimension named process center and Driver. i want to write a expresssion for the graded quantity and want that without selecting the date.
That is its 6/11 today. on loading the chart i want to fill the pivot tabke with yesterday's sum(gradedqty).
Thanks
Renjith Kumaran
Ren ,
Try to calculate the yesterday as Date -1 in script.