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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
tmillerch
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.  

1 REPLY 1
danextian
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."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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