Forum Discussion

carrl284's avatar
carrl284
Frequent Visitor
5 years ago
Solved

DAX Measure to Concatenate Unique Strings

Hi, I have a table where people have worked dates on a job.  The start and end columns are split to a row for each day. This results in the comments being duplicated for every day. Can anyone show m...
  • Jihwan_Kim's avatar
    5 years ago

    Hi, carrl284 

    Please try the link down below.

     

     

    Comments =
    IF (
    ISFILTERED ( 'Table'[EmployeeId] ),
    CONCATENATEX (
    SUMMARIZE (
    FILTER ( ALL ( 'Table' ), 'Table'[EmployeeId] = MAX ( 'Table'[EmployeeId] ) ),
    'Table'[Comment]
    ),
    'Table'[Comment],
    ", "
    )
    )
     
     

    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