on 09-28-2015 12:25 PM
Hi Experts,
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.
Thanks
Sam
Hi,
try with these steps.
V Prev Month=Month(RelativeDate(CurrentDate();-(DayNumberOfMonth(CurrentDate())+1)))
V Booked Month=Month([Booked Date]
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.
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
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.
Amit
DATA: vdate TYPE datum.
TRY.You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam,
You can create a report level variable "PreviousMonth" =ToNumber(UserResponse("month"))-1 to get previous month value.
-Megha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam,
Try below function in Universe level..
Create Object called Sysdate : add_months(SYSDATE(),-1)
and use as a filter in report
Regards,
Jeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.