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
fhfon
Regular Visitor

Lookupvalue between tables with partial text

Hello all,

 

I need a help with the situation below.

 

I have two table:

 

Table1:

Part numberDescriptionStatus
1252BearingCritical
993FilterNon critical

 

Table2:

DescriptionStatus
Bearing 3cm stainless steel 
Exhaust HEPA Filter 

 

What I need is kind a "lookupvalue" with partial text that will bring the status from the table1 to table2, but the issue is that description in table2 has more information.

 

Please, HELP me!  🙂

 

Att.

Fernando Nobre

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@fhfon , Try a new column in Table2 like

 

Maxx(filter(Table1, search(Table1[Description], Table2[Description],,0) >0 ), Table1[Status])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Thank you!

 

This worked as I wanted.

View solution in original post

4 REPLIES 4
smpa01
Super User
Super User

@fhfon  you can write a measure like this

Measure =
MAXX (
    FILTER (
        CROSSJOIN (
            VALUES ( 'Table 2'[Description] ),
            SELECTCOLUMNS (
                SUMMARIZE ( 'Table 1', 'Table 1'[Description], 'Table 1'[Status] ),
                "_description", [Description],
                "status", [Status]
            )
        ),
        CONTAINSSTRING ( [Description], [_description] )
    ),
    [status]
)

 

smpa01_0-1639665954457.png

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Thanks! But I could not make this work.

amitchandak
Super User
Super User

@fhfon , Try a new column in Table2 like

 

Maxx(filter(Table1, search(Table1[Description], Table2[Description],,0) >0 ), Table1[Status])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you!

 

This worked as I wanted.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.