Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

ConcatenateX with text and counts

Hello all,    I have a need to create a Concatenated list with Counts and Values.   I can get the unique values through ConcatenateX, but I want to add the count of the number of times they appear....
  • Greg_Deckler's avatar
    6 years ago

    Try this:

     

    Measure = 
        VAR __Table = 
            SUMMARIZE(
                'Table',
                [Status],
                "Count",COUNTROWS('Table')
            )
    RETURN
        CONCATENATEX(__Table,[Count] & " " & [Status],", ")