on 06-30-2015 6:10 PM
we are using SAP BO 4.0 with Sp6,
We have a requirement to subtract 3 hours from one of the date variable created in Webi report.
we tried with relative date() function but it was throwing an error of invalid data type.
Regards,
srujan
Swapnil & ankush your suggestions are correct!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srujan,
Try this formula on your date field:
=RelativeDate([Date_Field];-3/24)
Converting 3 hours to 3/24 of a day.
-Ankush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is your back end database?
Please specify the format of your date field.
By the time you can use following formula if you want to add 3 hours to date.
=RelativeDate([Sale Date];0.125)
& use below formula if you want to substract 3 hours
=RelativeDate([Sale Date];-0.125)
where 0.125 = 3/24 (in one day there are 24 hours so if you require to add 3 hours then you can use 3/24 = 0.125)
Thanks,
Swapnil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.