Forum Discussion

kagy100's avatar
kagy100
Advocate II
5 years ago
Solved

DAX Assistance Needed

Hi Team,   I am hoping to seek your assistance with the following issue . .    I have a date table set up with these dates: 16/03/2021 16/02/2021 19/01/2021 15/12/2020 17/11/2020   My desi...
  • Jihwan_Kim's avatar
    5 years ago

    Hi, kagy100 

    Please check the below picture and the sample pbix file's link down below.

    Those are for creating new columns.

     

     

    Start date CC =
    CALCULATE (
    MAX ( 'Table'[Column1] ),
    FILTER ( 'Table', 'Table'[Column1] < EARLIER ( 'Table'[Column1] ) )
    )

     

     

    End date CC =
    IF( not ISBLANK( 'Table'[Start date CC]), 'Table'[Column1])
     
     
     

    Hi, My name is Jihwan Kim.


    If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


    Linkedin: linkedin.com/in/jihwankim1975/

    Twitter: twitter.com/Jihwan_JHKIM