on 02-10-2014 7:50 PM
How do you use the Not In operator, in the where clause for a dimension, using a Select statement?
For example:
"Consent_DE_E_28002"."IDENTIFIER" NOT IN (Select("DE_E_T_28056")from "DE_E_28025")
Even when I use the fully qualified table name (@catalog('CATISSUEPROD')."CATISSUECORE"."DE_E_28025") in the from statement I receive the following error:
Cause of Error
Invalid table or view identifier 'DE_E_28025'
You can create the logic using @select expression ...
For this create a object using "DE_E_28025"."DE_E_T_28056" and use that in the expression using @select expression with that object .... Please make sure to use this only in where clause statement and not select statement.. As this is a restriction expression...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.