on 02-17-2015 9:09 AM
Hi, My Webi Reports(BO 4.1) are based on a BEx query. I want to display the date range the user selects, this comes from Bex variable. User only select date range, but when displayed in the report it comes with time stamp. The data in BW and the variable is normal date not timestamp. I use = UserResponse("Dato") It returns 01.01.2014 00:00:00;31.12.2014 00:00:00 I want to display it without the time (00:00:00). I have tried various, for example = FormatDate(ToDate(UserResponse("Dato");"");"dd.mm.yyyyy") But it returns #ERROR How can I achieve this? Regards, Reynir
I would use UserResponse("Dato"; Index), this should retrieve the date without time if I remember correctly.
Best regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
v_DateRangeSelected =UserResponse("Dato")
v_FromDateSelected =Trim(Substr([v_DateRangeSelected];1;Pos([v_DateRangeSelected];";")-1))
v_ToDateSelected =Trim(Substr([v_DateRangeSelected];Pos([v_DateRangeSelected];";")+1;Length([v_DateRangeSelected])))
v_FromDate =FormatDate(ToDate([v_FromDateSelected];"INPUT_DATE_TIME");"dd.MM.yyyy")
v_ToDate =FormatDate(ToDate([v_ToDateSelected];"INPUT_DATE_TIME");"dd.MM.yyyy")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.