Forum Discussion

saanah2019's avatar
saanah2019
Icon for Helper II rankHelper II
7 years ago
Solved

Find the min and max date

Hi i have a very basic question that I am stuck on. I have 2 columns from the same table. Customer Date Customer    Date 1                 2/2/2018 2                2/6/2018 3                 2...
  • v-cherch-msft's avatar
    v-cherch-msft
    7 years ago

    Hi saanah2019 

    You may create a column like below:

    Column =
    IF (
        'Table'[Date] = MAX ( 'Table'[Date] ),
        "MAX",
        IF ( 'Table'[Date] = MIN ( 'Table'[Date] ), "MIN", BLANK () )
    )
    

    Regards,