on 03-04-2021 5:45 PM
I am recreating a report from cognos to saps/4 in bobj. I need to create a variable to pull into the report as a column. Here is the cognos expression:
case
when
current_date > [Request Date]
then
current_date - [Request Date]
else null
It does not appear I can use 'case' in a bobj variable? How can I recreate this?
Hi Kate,
Use the below formula
=If(CurrentDate()>[Request Date]) Then DaysBetween([Request Date];CurrentDate())
Thanks,
Mahboob Mohammed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use IF ..THEN ... ELSE ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.