Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Concanate two columns based on a 3rd column
01-30-2024
03:53 AM
Hi,
My data set is below:
Project Name | Type | Enabling |
Project 1 | Main | Demo |
Project 1 | Main | Piling |
Project 1 | Main | Soft Strip |
Project 1 | Trade | Demo |
Project 1 | Trade | Piling |
Project 1 | Trade | Soft Strip |
I would like a measure which would give me the output below:
Project Name | Type | Enabling |
Project 1 | Main, Trade | Demo, Piling, Soft Strip |
Any help will be much appreciated.
Thank you.
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024
04:06 AM

Hi @Fali324 ,
How about this?
Here the DAX for the two measures:
Measure1 = VAR _helptable = SUMMARIZE ( 'Table', 'Table'[Project Name], 'Table'[Type] ) RETURN CONCATENATEX(_helptable, [Type], ",")
Measure2 = VAR _helptable = SUMMARIZE ( 'Table', 'Table'[Project Name], 'Table'[Enabling] ) RETURN CONCATENATEX(_helptable, [Enabling], ",")
Let me know if this solves your issue 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024
04:06 AM

Hi @Fali324 ,
How about this?
Here the DAX for the two measures:
Measure1 = VAR _helptable = SUMMARIZE ( 'Table', 'Table'[Project Name], 'Table'[Type] ) RETURN CONCATENATEX(_helptable, [Type], ",")
Measure2 = VAR _helptable = SUMMARIZE ( 'Table', 'Table'[Project Name], 'Table'[Enabling] ) RETURN CONCATENATEX(_helptable, [Enabling], ",")
Let me know if this solves your issue 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
07-21-2024 05:50 AM | |||
08-01-2024 02:27 AM | |||
08-28-2024 02:53 AM | |||
05-29-2024 02:15 AM | |||
07-18-2024 04:42 PM |
Featured Topics
Top Kudoed Authors (Last Month)
User | Count |
---|---|
123 | |
104 | |
84 | |
49 | |
46 |