Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8695

Bex Query - Replacement Path - Query problems - BW 7.30

$
0
0

Pre-Query

 

Have Hierarchy Filter on 0QUALIFICTN

 

 

Query

 

Have filters on a number of objects.

 

When the Query is executed the 'PRE-QUERY' filter appears on the screen along with the Characteristic Restrictions (Filters) from the Query.

 

Hence, no Pre-Query filtering seems to occur.

 

 

What I'm trying to do

 

Get Employees who have ALL of the Qualifications selected in the 'Pre-Query' filter.

 

Then, select additional Qualifications in the Query (for the above selected employees ONLY), and return a result set

with the Employees showing the Mandatory Qualifications (as derived in Pre-Query) as well as the additional qualifications that this employee has that meets the filter values in the Query.

 

Example

 

5 Employees - E1 - E5

5 Qualifications - Q1 - Q5

 

E1 has Q1-Q3

E2 has Q2 - Q4

E3 has Q2 - Q5

E4 has Q2 & Q5

E5 has Q5

 

Pre-Query - Q = Q2 and Q5 so should select E3 & E4, as they both have Q2 & Q5.

 

The Query has a Replacement path on 0EMPLOYEE getting the results from the Pre-query.

In the Query I also select Qualification Q3, so I want to see the following results:

 

E3 Q2 (Mandatory from Pre-Query)

E3 Q3 (Optional from Query)

E3 Q5 (Mandatory from Pre-Query)

 

* No Q4 since not requested in Pre-Query or Query.

 

E4 Q2 (Mandatory from Pre-Query)

E4 Q5 (Mandatory from Pre-Query)

 

Any ideas on how to get this to work - do I need to use an RRI??

 

Regards

 

Gerry


Viewing all articles
Browse latest Browse all 8695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>