Forum Discussion

TuqueLogic's avatar
TuqueLogic
Icon for Helper I rankHelper I
1 year ago
Solved

DAX getting MIN value from rows with same value in different column

Feel silly asking as this seems like it should be simple. Looking to create a new column for a table that contains the Min 'Start Date' value for rows that have the same InitialResultID. IE just ...
  • TuqueLogic's avatar
    1 year ago

    EARLIER seems to do it:
     
    CALCULATE(MIN(table[StartDate]), FILTER(table, TestBillingAgentTasks[InitialResultID]=EARLIER(table[InitialResultID])))

    Here it states EARLIER refersto the previous 'table scan':
    EARLIER - DAX Guide

    Can someone point me to where I can understand better what table scans are, where in the code they are initiated, and by which types of functions?