Forum Discussion

RafaelAri's avatar
RafaelAri
Helper III
3 years ago
Solved

Add max value column

I have this list of quotations, where each quotation has a version, from A and up. I want to add custom column, that contain the highest version, for each quotation. Many thanks in advance, ...
  • Samarth_18's avatar
    3 years ago

    Hi RafaelAri ,

     

    You could try below code:-

    Column =
    CALCULATE (
        MAX ( 'Table'[version] ),
        FILTER ( 'Table', 'Table'[Quote no] = EARLIER ( 'Table'[Quote no] ) )
    )