Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Abishek
Helper I
Helper I

CONCATENATEX is providing duplicated result even when using values() ,distinct() or related table()

Hi , 
Can someone help me with this issue, While concatenating data in one single colum into row wise data, duplicates are coming, is there any way to achieve this without duplicates? I have tried with Values(), Distinct(), RelatedTable() dax function but it is not working as expected, is there any way to do this ?

concate.png

 

1 ACCEPTED SOLUTION
davehus
Memorable Member
Memorable Member

Hi @Abishek ,

 

Try this 

CONCATENATEX(VALUES('# test_DRIVER_DASHBOARD'[CATEGORY]) ,'# test_DRIVER_DASHBOARD'[CATEGORY],",")
Values will read the column and return a unique set of data.
 
If this answers your question, please accept my solution.

View solution in original post

3 REPLIES 3
davehus
Memorable Member
Memorable Member

Hi @Abishek ,

 

Try this 

CONCATENATEX(VALUES('# test_DRIVER_DASHBOARD'[CATEGORY]) ,'# test_DRIVER_DASHBOARD'[CATEGORY],",")
Values will read the column and return a unique set of data.
 
If this answers your question, please accept my solution.

Hi davehus,
Thank you so much this solved my problem .

Hi davehus,
Thank you so much this solved my problem 😁.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.