Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 213 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Comparing to a string value in a physical join

Hi all,
Seems like a fairly simple one but getting some issues with a join in my physical layer.
Basically I want to join two tables together using the primary key but I want to also add that I want to see only active records using our active flag.
So for example, the join would look like:
a.key = b.key AND
a.active = 'Y' AND
b.active = 'Y'
This throws up the following error:
[nQSError:30001] Only columns, designated predicates and operators are allowed.
Interestingly, if I reverse the relationship of the join so it goes from being "one to many" to "many to one", it doesn't error, although this is obviously not an option going forward.
I have read that complex joins are not allowed in the Physical layer but not sure why that would be.
Cheers,
Adam
Answers
-
I think i've answered my own question.
The above error occurs when I try and edit an already existing join which has been defined as a "physical foreign key join".
If I delete the existing join and create a new one, adding in the comparison to the string value, the join is saved as a "complex join" and everything is hunky dorey.Apologies for wasting people's times but hopefully this can help others in the future.
Cheers,
Adam
0