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
valeringuyen
Frequent Visitor

Relationship between 2 tables with lookup or contains

I have 2 tables

 

Table 1 has the technician name and the states that they cover. Many of them cover multiple states represented by the state abbreviation and a comma in between each state. 

 

valeringuyen_0-1640226403146.png

 

 

Table 2 has the 50 states with the count of tech coverage.

 

valeringuyen_1-1640226402848.png

 

 

I'm trying to create a power BI where when I click on a state in the map, it'll filter the table in the right if it contains the state abbreviation. Also, if I click the state in the table on the right, the bubbles from the map will show for those states ie. NM, TX for Alan.

Right now, when I click on California for instance, the list will show techs who cover only California.

valeringuyen_2-1640226402850.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@valeringuyen , One of the thing that you can do is that you split the states in first table, using split by delimiters into rows in power query

 

https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@valeringuyen , One of the thing that you can do is that you split the states in first table, using split by delimiters into rows in power query

 

https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/

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.