Hello
I have a column in my table containing a code. Depending on this code I know witch value in the corresponding row of the corresponding column must be selected.
I have defined 2 variations on this @Select condition object.
The problem arises when I want to execute a query to select both measures because the WHERE clause will contain an AND operator, resulting in 'No data to fetch' as the @Select object cannot have both conditions apply.
If I manually change the SQL code as follows:
WHERE
( ( BLA.MIST01.MISOBJ ) = '01' )
AND ( ( BLA.MIST01.MISOBJ ) = '02' )
And select “Do not generate SQL before running” it works perfect.
The problem is that I need a lot of these measures in my query and I wonder if there is some way to make Business Objects aware it should use an OR instead of an AND in this situation.
Any ideas?
Maiden
I have a column in my table containing a code. Depending on this code I know witch value in the corresponding row of the corresponding column must be selected.
I have defined 2 variations on this @Select condition object.
The problem arises when I want to execute a query to select both measures because the WHERE clause will contain an AND operator, resulting in 'No data to fetch' as the @Select object cannot have both conditions apply.
If I manually change the SQL code as follows:
WHERE
( ( BLA.MIST01.MISOBJ ) = '01' )
AND ( ( BLA.MIST01.MISOBJ ) = '02' )
And select “Do not generate SQL before running” it works perfect.
The problem is that I need a lot of these measures in my query and I wonder if there is some way to make Business Objects aware it should use an OR instead of an AND in this situation.
Any ideas?
Maiden