Forum Discussion

Zdenek_Moravec's avatar
Zdenek_Moravec
Brass Contributor
Mar 10, 2021
Solved

Get record with latest date by criteria from excel table and handle blanks

Dear colleagues, I maintain a Covid test record list - name, result, date Name Test Result Test date Alan negative 01.01.2021 Bred negative 01.01.2021 Alan positive 01.02.2021 ...
  • SergeiBaklan's avatar
    SergeiBaklan
    Mar 11, 2021

    Zdenek_Moravec 

    The purpose of Index column is to fix the table in memory. Alternatively you may wrap it by Table.Buffer(). The only small difference you may manipulate with Index from UI only, Table.Buffer() shall be added manually in editor. But result is the same.

     

    Without fixing in memory Table.Distinct could give wrong result (could not) due to lazy evaluation performed by Power Query.

Resources