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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
enriquegll
New Member

filter table with keywords from another table

I have table A with many columns sales, zones, products, dates, seller, etc. but in the seller column there are zones where there are 2 or 3 sellers.
For example:

SELLER
Vendedor 1
Vendedor 1 / Vendedor 2
Vendedor 3
Vendedor 1 / Vendedor 2 / Vendedor 3
Vendedor 2

In table B I have the list of sellers:

SELLER
Vendedor 1
Vendedor 2
Vendedor 3

I would like to be able to filter by the list of table B and that all the tables and graphs that are made from table A are filtered by the seller that I select from table B. I hope you can help me.

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Using the Query Editor, split the first table by rows.  Then create a relationship (Many to One and Single) from the first table to the second one.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Greg_Deckler
Super User
Super User

@enriquegll Should be able to use SEARCH/FIND to create a selection measure. The Complex Selector - Microsoft Power BI Community


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi Greg,
Do you think you could give me an example please? I'm just starting with Power BI.

Best Regards,
Enrique

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.