Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
how to show last month data with current month selection ????
=sum({<month={">=$(Max(Month)-1) <=$(Max(Month))"}>}value)
{<Date={'$(=Max(Date))'}>}
[where Date is Calendar Date of the selected month]
or you may use
{<TDate={'$(=Max(TDate))'}>}
[where TDate is Transaction date of the selected month]
Regards,
Som
Hi Vignesh,
If you have a date field in your table then use this
=Sum({<MonthField=, DateField={'>=$(=MonthStart(Max(DateField), -1))<=$(=MonthEnd(Max(DateField), -1))'}>} Sales)
Hope this helps you.
Regards,
Jagan.
Hi
use the addmonths function
AddMonths(START_DATE,-1)
use this in ur expr tab
it works
Hi Vighnesh,
Try this Expression-
=sum({<Year={$(=max(Year))},Month={$(=month(addmonths((max(Date)),-1)))}>}Sales)
Regards,
Neha