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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
fernandoC
Helper V
Helper V

How to group values from a column based on the value of another one

Hi!

 

Wanted to reach out as I´ve been trying to find a way to achieve the following:

 

I have a table that has the following structure

 

NameSkill
John DoeJava
John Doe.NET

Michael Jordan

Python
Michael JordanScala

 

I would like to have the following outcome

 

NameSkill
John DoeJava/.NET
Michael JordanPython/Scala

 

Thank you for your assistance.

 

Best, 

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @fernandoC ;

You could create a measure or column :

1.create a measure.

Measure = CONCATENATEX(FILTER(ALL('Table'),[Name]=MAX('Table'[Name])),'Table'[Skill], "/")

2.create a column.

Measure = CONCATENATEX(FILTER(ALL('Table'),[Name]=MAX('Table'[Name])),'Table'[Skill], "/")

The final output is shown below:

vyalanwumsft_0-1637561763491.png

vyalanwumsft_1-1637561771386.png

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.

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @fernandoC ;

You could create a measure or column :

1.create a measure.

Measure = CONCATENATEX(FILTER(ALL('Table'),[Name]=MAX('Table'[Name])),'Table'[Skill], "/")

2.create a column.

Measure = CONCATENATEX(FILTER(ALL('Table'),[Name]=MAX('Table'[Name])),'Table'[Skill], "/")

The final output is shown below:

vyalanwumsft_0-1637561763491.png

vyalanwumsft_1-1637561771386.png

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.

amitchandak
Super User
Super User

@fernandoC , Create a measure and use it with name, in visual

 

measure = concatenatex(Table, Table[Skill], "/")

Hi @amitchandak 

 

I tried using a measure but I'm not getting the expected results. When used in a table visual the results are not being grouped based on the Name. Any suggestions?. 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.