Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Help with Finding first Account name on earliest create date.

Hi,


I have two columns. COL A has account name(Where the same account name can show up multiple times) and COL B has Earliest Create date.

 

How do I show only the earliest date by Unique Account? I only need to see the first created date by account.

 

Thanks,

 

  • hi Anonymous 

    try

    measure = calculate(min(Table[Date]), allexcept(Table, Table[account name]))

4 Replies

  • az38's avatar
    az38
    Icon for Community Champion rankCommunity Champion

    hi Anonymous 

    try

    measure = calculate(min(Table[Date]), allexcept(Table, Table[account name]))
    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi AZ,

       

      This worked great. Thank you. 

       

      Thanks,

       

    • Anonymous's avatar
      Anonymous
      Not applicable

      How in the heck did this get translated to spanish and posted in the spanish forum....

      fortunately I can read, but this is odd.

  • v-deddai1-msft's avatar
    v-deddai1-msft
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    You can try the measure below:

     

     

    measure = CALCULATE(MIN('Table'[Date]),FILTER(ALL('Table'),'Table'[Account name] = MAX('Table'[Account name])))

     

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    Best Regards,

    Dedmon Dai