Forum Discussion

Kfausch's avatar
Kfausch
Helper II
6 years ago
Solved

Look up value formula

Hello,   Below is an example if the data I am working with. I am in a manufacturing setting, where 1 document has two entry types; output and consumption. The column called "Output Lot No." is what...
  • amitchandak's avatar
    6 years ago

    Try

    new Column =
    LOOKUPVALUE('Table'[Lot No.], 'Table'[Entry Type], "Output", 'Table'[Document No.], firstnonbank('Table'[Document No.],true()))
    OR
    new Column =
    minx(filter('Table', 'Table'[Entry Type]= "Output" && 'Table'[Document No.]= earlier('Table'[Document No.])),'Table'[Lot No.])