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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
vishalcmehta
Regular Visitor

comma seperated ids - convert to names based on a mapping from a different table

Hi,

 

I have a Table A, which lists comma seperated ids. In a seperate Table B, we have a mapping between ID and app names. Is there a way I can convert comma seperated ids into app names as shown in the expected output below?

 

Table A:

 

seqNum

appID

a

2,3

b

1

c

1,3,4

 

Table B:

 

appID

appName

1

yahoo

2

google

3

hotmail

4

outlook

 

Expected Output:

Table A

seqNum

appID

appName

a

2,3

google,hotmail

b

1

yahoo

c

1,3,4

yahoo,hotmail,outlook

 

1 ACCEPTED SOLUTION
camargos88
Community Champion
Community Champion

Hi @vishalcmehta ,

 

I've created this file as an example: Download PBIX 

 

I hope it helps,

 

If you consider it as a solution, please mark as a solution and kudos.

Ricardo



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



View solution in original post

2 REPLIES 2
v-deddai1-msft
Community Support
Community Support

Hi @vishalcmehta ,

 

Additional to camargos88's reply, please refer to Concatenate, Merge or Combine multiple rows into one value - Power Query for Power BI

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

camargos88
Community Champion
Community Champion

Hi @vishalcmehta ,

 

I've created this file as an example: Download PBIX 

 

I hope it helps,

 

If you consider it as a solution, please mark as a solution and kudos.

Ricardo



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.