Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

group selection

Status
Not open for further replies.

mwmark

Technical User
Jun 5, 2007
23
0
0
US
SAP crystal 14, sql DB.

I have a simple sales report that i want to see ONLY invoice details for invoices that have both sales classes on the same invoice. Not either /or

I am excluding all other sales classes in the select expert.
Group 1 is invoice, group 2 is class.
details are invoice number, class, selling_price

I have been away from this a while so I apologize if this is a simple fix that I am missing.
thanks




 
Use the following code in the Group Selection formula:

[Code Group_Selection]
DistinctCount({Table.Class}, {Table.Invoice}) = 2
[/Code]

Hope this helps

Cheers
Pete

 
Thank you!

Worked like a charm.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top