Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
eptaqlik
Contributor III
Contributor III

Extract data record from max date

Hello,

please someone can help me?

I want to extract from a file:

for any material code the last data, qty and price from a lot of movement.

   

materialdataqtaPrice
a17/01/2017110
a18/01/2017211
a19/01/2017312
a20/01/2017413
a21/01/2017514
b21/02/2017520
b22/02/2017421
b23/02/2017322
b24/02/2017223
b25/02/2017124
c17/03/2017130
c18/03/2017231
c19/03/2017332
c20/03/2017433
c21/03/2017534
Result
a21/01/2017514
b25/02/2017124
c21/03/2017534

tks in advance.

Marco

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Straight table:

Dim: Result

Exp1: Date(Max(data))

Exp2: FirstSortedValue(qta, -data)

Exp3: FirstSortedValue(Price, -data)

View solution in original post

3 Replies
tresesco
MVP
MVP

Straight table:

Dim: Result

Exp1: Date(Max(data))

Exp2: FirstSortedValue(qta, -data)

Exp3: FirstSortedValue(Price, -data)

eptaqlik
Contributor III
Contributor III
Author

many tks

It work very well.

have a nice day.

Marco

eptaqlik
Contributor III
Contributor III
Author

many tks

It work very well.

have a nice day.

Marco