Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I've got below table:
For each project I'm trying to concatenate a list of all colors in that project. So:
Or in short:
I used below function CONCATENATEX (FILTER ('Table', 'Table'[Project] = EARLIER ('Table'[Project])), 'Table'[Color], ", "). This does give me the list of all colors in the project but it shows them all:
In order to get to my desired result I want to take the duplicated colors out of the concatenated list. I have tried to work with the DISTINCT function as below but this did not give me the desired output.
CONCATENATEX (DISTINCT(FILTER ('Table', 'Table'[Project] = EARLIER ('Table'[Project]))), 'Table'[Color], ", ").
Any idea how I could get the duplicates out of this CONCATENATEX list?
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new column.
expected result CC =
CONCATENATEX (
SUMMARIZE (
FILTER ( 'Table', 'Table'[Project] = EARLIER ( 'Table'[Project] ) ),
'Table'[Colors]
),
'Table'[Colors],
", "
)
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new column.
expected result CC =
CONCATENATEX (
SUMMARIZE (
FILTER ( 'Table', 'Table'[Project] = EARLIER ( 'Table'[Project] ) ),
'Table'[Colors]
),
'Table'[Colors],
", "
)
Thanks, that worked! I didn't consider the summarize function over the distinct.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 7 | |
| 6 |