Greetings all,
I’ve been stumped by this issue for awhile, and now am humbly seeking your wisdom.
The issue is: I have database with a log of “incidents”, or “defects” occuring in the infrastructure. It’s a DP called DP_Issues. I am trying to tie the “incidents” to the possible “causes”, which are described in another database. Let’s call it DP_Causes.
The “incident” can be characterized by one of the two dimensions – either Dim_1, which is the preferred, but not always available, or Dim_2, which is less reliable, but can be used to second-guess the “cause”.
On the “causes” side, I also have these dimensions. For any given “cause”, both would be available.
DP_Issues: Dim_1, Dim_2, Defect
DP_Causes: Dim_1, Dim_2, Cause
I need to produce a report that will list:
Cause, Defect, Count(Defect)
The way I’d like to do that is for any given Dim_1 in DP_Issues to try checking if there is Dim_1 with the corresponding value in DP_Causes, and using the associated Cause value; and if not, then trying to make a match between Dim_2’s.
I am runnin BO 6.51PS2. Naturally, it’s not possible link two DPs twice, so I can’t link DP_Issues:Dim_1 to DP_Causes:Dim_1 and DP_Issues:Dim_2 to DP_Causes:Dim_2 at the same time.
A logical way out of that would be to create TWO copies of DP_Causes, and to link DP_Issues:Dim_1 to DP_Causes1:Dim_1 while linking DP_Issues:Dim_2 to DP_Causes2:Dim_2. And that works, right up to the part when I try to construct a variable that makes use of this:
<AnyCause> = If(IsNull(<Dim_1(DP_Issues)>) Then <Cause(DP_Causes2)> Else <Cause (DP_Causes1)>
What happens is that BO tells me that these two variables are not compatible. There fact that the linkage between them is a two-hop is apparently putting BO off.
I studied the Search results for all imaginable keywords, and haven’t found anything resembling my issue. Can anyone recommend a workaround, or a new way altogether to look at my problem?
Many thanks,
Val.
gorilla800lbs (BOB member since 2007-08-08)