on 03-14-2007 3:17 PM
Hi Experts,
Reporting.
Question, how can you show all documentnumbers which contains line-items with a selection on productgroup 1 & 2.
So the report must only show those documentnumbers and only showing sales for those productgroups complementary. Not documentnumbers with 1 or 2, but only documentnumbers where 1 AND 2 are sold.
Thx!
Hi,
Your question is not clerar.
Any how , if you have PRODUCTGROUP1 and PRODUCTGROUP2 characterstics in the Datatarget , then simply you can go with Filter as shown below and Document numbers in the rows.
PRODUCTGROUP1 = X
PRODUCTGROUP2= Y
if you have PRODUCTGROUP Characterstic in the Datatarget , and 1 and 2 are possible values . then Take your KF 2 times .
Restrict the first KF with PRODUCTGROUP = 1.
Restrict the second KF with PRODUCTGROUP = 2.
Then use boolean formula onthese 2 KF two chcek both has values.And you should take Document numbers in the rows.
With rgds,
Anil Kumar Sharma .P
Message was edited by:
Anil Kumar Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, if you have two charactristics Product1 (P1) and Product2 (P2), here's another option if you want to have P1 = X AND P2 = Y documents.
Create a query (help query) with the document number in the drilldown.
Restrict P1 to a variable with user input (=X)
Take your original query (where you want to restrict with AND), create a variable with user input on P2 (=Y)
Restrict your Document number to a replacement variable of type QUERY Result where you select your help query.
Caution: this could be a perf issue depending on the amount of data; also think to include more restrictions on the help query...
hope that helps
cheer,
Olivier.
By reading your initial question I understand it now better.
In document you can sales for different Product Groups and want to show sales when a particulat combunation is sold.
Take my solution with the help query filtering on a variable. This will return all docs with at least one P = X.
In the second query you'll have the previous doc list and restrict the product group group again with another var.
This will work.
Anil suggestion is also fine. 2 restricted KF and after you can make a condition (==> WHERE KF1 <> 0 AND KF2 <> 0 which would be the same actually than
WHERE NOT (KF1 = 0 OR KF2 = 0)
hope this sove your issue
cheers
Olivier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Your question is not cle
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please explain in detail.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
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.