on 04-21-2016 6:06 PM
Hi All,
I am having a universe on BW Cube.
Want to create a prompt in universe.
Ex: When user enter end date in a webi report, we will display end date -90 days results in the report.
So created a prompt like this.
@Select(ENDDATE_MAT CONNECTION\Dates\End Date) between
(@Prompt('Enter Date','D',@Select(ENDDATE_MAT CONNECTION\Dates\End Date),Mono,free,not_persistent)-90) AND @Prompt('Enter Date','D',@Select(ENDDATE_MAT CONNECTION\Dates\End Date),Mono,free,not_persistent)
but while parsing i am getting following error
Invalid Expression:
Error parsing the expression: the expression @Select(ENDDATE_MAT CONNECTION\Dates\End Date) has not been parsed as a lov or an business object
the expression @Select(ENDDATE_MAT CONNECTION\Dates\End Date) has not been parsed as a lov or an business object
. (IES 01028)
Environment: BI 4.1 IDT
what is your backend database?based on that you need to add the function like for oracle you need to add "add_months" function.
e.g.
Date>=
Add_Months(@prompt("report run date"),-3) and
Date<=@prompt("report run date")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.