Hi Experts,
I have report which is build on OLAP universe, I made a variable in webi to get the data for last year
Dimensions:
Billing Doc Date,
City
Measures:
ExFactory
My Logic is
Made a detail object in webi like below:
Detailed object
[Billing Doc Date] Where(([L01 Billing doc. date]Between([VFROM];[VTO])))
instead of Billing Doc Date I have tried City and Exfactory also
Variable1:
[VFROM] =ToDate("1/01/"+FormatNumber(Year(ToDate(UserResponse("Billing Date To");"MM/dd/yyyy hh:mm:ss a"))-1;"####");"M/dd/yyyy")
Variable2:
[VTO] =ToDate("3/31/"+FormatNumber(Year(ToDate(UserResponse("Billing Date To");"MM/dd/yyyy hh:mm:ss a"))-0;"####");"M/dd/yyyy")
this logic is working fine but need to drag the parent object also,
I have tried normal dimension variable object instead of detailed object but not working.
like this I need to do so many calculations on date field, can we achieve in web-i or need work in bex
I Have attached screen shots, in 1st screen shot used date variable, date and Exfactory, in 2nd screen shot used variable, date, city and Exfactory.
Thanks in advance.