on 01-31-2007 8:18 PM
HI All,
Here is a scenario i am trying to model in a Bex Query.
Original Record set
Customer Material Value $
ABC XYZ 100
ABC EFG 200
ABC HIG 300
CBA XYZ 100
LMN XYZ 100
The requirement is to find all customers who have ONLY purchased Material = XYZ and no other product. This means that Customer ABC who has Purchsed XYZ is to be excluded from the results since he has bought other products also.
The result of the query should be
Customer Material Value $
CBA XYZ 100
LMN XYZ 100
Please help how to model this query. Points galore for people who has a solution....
Thank You
Try this solution:
Build three 3 figures:
KF 1 : $ value
KF2 : Restricted KF with $ value and restriction on Material = XYZ
KF3 : Formula (KF2 minus KF1)
Put a condition on KF3 to display data only where KF 3 is zero.
In your scenarion for customer ABC KF3 will be not equal to zero and so will not be displayed as it does not match the condition.
hope this is helpful.
Cheers
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
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.