June 6, 2007 at 7:09 am
Hi
We have build a matrix in a report that counts number of orders, number of orderlines
In a next column we must have the number of orderlines where number of orderlines/order > 5
So for exemple
Code Orders Orderlines Orderlines > 3 Orderlines > 5
IBC 2 12 6 2
Raw data is :
Order 1 has 7 orderlines
Order 2 has 5 orderlines
So the Orderlines > 3 is sum((7 orderlines - 3) + (5 orderlines - 3)) = 6
We already have Code, Orders, Orderlines in one dataset
the > 3 and > 5 in another dataset.
When we want to add the second dataset in the matrix reporting gives an alert that it is impossible to use two different datasets in one matrix. U can use the sum though.
Anyone got a clue ?
Kind regards
El Jefe
JV
June 6, 2007 at 7:14 am
What is the Primary Key for the Orders table and where does Code come from?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 6, 2007 at 7:56 am
Jeff
The code is a field in the orderlinetable.
Primary key is, i thnik so, not important for this.
Thx in advance
El Jefe
JV
June 6, 2007 at 8:48 am
I could be wrong, but I'm pretty sure Jeff is asking those questions so that he can come up with a method to generate your report data as a single dataset, thus solving your problem.
June 6, 2007 at 9:23 am
Indeed he is asking this for helping me, which I am thankfull for.
We just resolved this matter using union queries and using 0 values.
Perhaps not the most powerfull result, but we have a match.
thx anyway !
JV
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply