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

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

Reply
AS123
Regular Visitor

How do I identify a string in a coulmn and find it in another table comment section

Hello there,

 

I am new to Power BI and I have a query that I need help with.

 

I have two datasets: 

1) Employee: 

AS123_0-1683868854018.png

 

2) Request Comment

AS123_1-1683868958022.png

I want to be able to find the request comment is for which employee based on the name context in comment. Is there a way to do that in Power BI?

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @AS123 ,

 

Here are the steps you can follow:

1. Create calculated column.

Column =
MAXX(
    FILTER(ALL('Request Comment'),
    CONTAINSSTRING('Request Comment'[Request Comment],'Employee'[Employee Name])),'Request Comment'[Request Comment])

2. Result:

vyangliumsft_0-1684206583153.png

 

Best Regards,

Liu Yang

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

1 REPLY 1
Anonymous
Not applicable

Hi  @AS123 ,

 

Here are the steps you can follow:

1. Create calculated column.

Column =
MAXX(
    FILTER(ALL('Request Comment'),
    CONTAINSSTRING('Request Comment'[Request Comment],'Employee'[Employee Name])),'Request Comment'[Request Comment])

2. Result:

vyangliumsft_0-1684206583153.png

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.