Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

Finding and notating if a table contains a specific string.

So essentially, I have 2 tables that are important, Table 1 (Master Table) of names and IDs and Table 2 which contains records of these individuals from Table 1. I have established a one-to-many relationship connecting these Tables by IDs.  I am now trying to figure out how I can filter Table 2 so that if, for example, ID1 contains record "z" out of the potential hundreds of rows pertaining to ID1 in Table 2, it does not matter whether "a-y" is there if the value is "z" then mark ID1 as to have "z" as its record on Table 1 (or Table 2 if that is a better way to do it).


If that is too vague, I can try to explain more.  I cannot really provide pictures as the information is private.  

Super User
Super User

Hi @tmillerch ,


Please see attached sample pbix that does a lookup of a value in another table as long as it contains the lookup string (not an exact match). Otherwise, please post a sample data (not an image) and your expected results. If privacy is an issue, you can always anonymize it by substituting sensitive information with something else. The gist is that the sample data should best represent the actual data.

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

Proud to be a Super User!

"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Connect to me on LinkedIn || Need consulting? Hire me for a Power BI gig on UpWork.
Learn with me on YouTube @PowerBITambayan.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors