How to get only Previous Month data in Report.
Need your Help!
I am using Business Object XI, while creating report need to populate data only for Previous month.
As of now "Booked Date" is coming from years 2001 to till date but users want to populate data for those Flats booked previous month only.
This report is "Scheduled" BO report.
Please see the attached JPG file for your reference. Here I want to reflect only Aug 2015 data ( Aug, 1 2015 to Aug, 31 2015).
Please let me know how to get Previous month data in report.
Amit Kumar replied
try with these.
V Prev Month=FormatDate(RelativeDate(CurrentDate();-(DayNumberOfMonth(CurrentDate())+1));"MM/yyyy")
V Booked Month=Formatdate([Booked Date];"MM/yyyy")
Create a variable and apply the filter on the table.
V Month=If([V Booked Month]=[V Prev Month]) then "Show" else "Hide"
Apply the report filter where V Month equals to Show.