on 2015 Mar 06 2:19 PM
Hi,
I have a issue like -
I want to find deviation in last column for same Material Number, Same Batch , Same posting date and to find if there is any difference in Exp Date which is last column in the figure.
1. for same posting date - If 2nd row Exp date is less than the first row exp date.
Then that row should be found.
can anyone help me out is there any logic in Graphical calculation view.
Thanks,
GnR
Request clarification before answering.
Hi there,
why don't you just a self-join here?
Or a sub-select (EXISTS) to find those records?
Doing this in a graphical calc view seems unnecessarily cumbersome, but hey, it's your model
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is it about the 2nd row here?
You did not specify any order of the records.
Ok, in order to make this somewhat efficient, please provide the commands to create your table and the insert statements for your test data.
Right now all we have is a somewhat confusing description and a picture...
Hi Lars,
Assume that
First row is Material,
2nd row is Batch Number,
3rd row is Posting date and
last row is Expiration date.
I want to find a deviation record in last row when that expiration date is Less than the previous record of the expiration date of same Posting, same Batch and same Material.
then that record is the resultant in my case.
Sorry, not going to look any further without the requested SQL commands.
I consider that the minimal level of information that you need to provide.
Also be a lot more precise with your language here; I think you meant columns instead of rows i
In your last reply and you still left out any information on the order of rows that you expect when you talk about first/second/last row.
User | Count |
---|---|
52 | |
6 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.