Forum Discussion
thhmez7
Helper III
3 years agoConcatenate distinct text value
Hi, I'd like to concatenate the column Brand. Here I created a column: For Product G there are two data rows with Brand = n. If this is the case, the brand "n" should be displayed only once. ...
- 3 years ago
Hi, thhmez7 ;
Try this dax about column.
Concate = CONCATENATEX ( SUMMARIZE ( FILTER ( ALL ( 'Table' ), [Product] = EARLIER ( 'Table'[Product] ) ), [Brand] ), [Brand], "+", 'Table'[Brand], ASC )The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yalanwu-msft
Community Support
3 years agoHi, thhmez7 ;
Try this dax about column.
Concate =
CONCATENATEX (
SUMMARIZE (
FILTER ( ALL ( 'Table' ), [Product] = EARLIER ( 'Table'[Product] ) ),
[Brand]
),
[Brand],
"+",
'Table'[Brand], ASC
)
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- thhmez73 years ago
Helper III
thanks, looks good. my use case changed a bit, but it surely helps 🙂