on 04-29-2016 9:50 AM
Hi,
We are using BI 4.1 SP3 Patch1. I created universe for using BEX Query. Everything is working but when I created a dimension with below code, I get error when I parse it. I am using Universe Design Tool.
My dimension formula
CASE WHEN @Select (Branch Code\L01 Branch Code)<>'10102' THEN 'Not Include' ELSE 'Include' END
Error message is below.
"Parse failed: Exception: DBD, The supplied XML is not valid. CASE WHEN @Select(Branch Code\L01 Branch Code)<>'10102' THEN 'Not Include' ELSE 'Include' END State: N/A"
Can you have any ideas about the problem?
Regards,
Cihangir
Hi,
Nornal CASE statement will not work in this case as you have created universe based on BEx query.
CASE statement will only work with relational tables or DSOs.
In case of BEx query, we need to define MDX expressions using <expression> tag.
Try this and check if it works:
<EXPRESSION> IIF(@Select(Branch Code\L01 Branch Code)<>'10102','Not Include' ,'Include')</EXPRESSION>
Hope it will help.
Regards,
Yuvraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what is the data type of L01 Branch Code Number or string?If number then remove the single quotes and try
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you please refer to below threads and see if that helps you.
Parse failed: Exception: DBD, The supplied XML ... | SCN
Parse failed: Exception:DBD, The supplied xml i... | SCN
Basically all suggest to refresh the Universe Structure.
Regards
Niraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.