Hi
If Webi Report backend is Bex Q....
as best practice create time periods at Bex Q level and use directly in the WebI Report.
Time Periods...like Last Week, Last five Week,Current Week, Last Year ..etc
@ Bex Q levle- Last Week = On Info object 0CALWEEK with variable YV_CALLWEEK
calling ABAP program . The variable is offset in the Bex query designer with a hardcoded -1.
Last five Week=On info object0CALWEEK with variable YV_CALLWEEK calling
ABAP program . The variable is offset in the Bex query designer with a hardcoded -1.
Coz some calculations,filtering, formats which are done at universe or report level could be pushed down to database level (without the need to actually modify the database).
This has advantages, final users have less work to do.