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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Simonsimonsimon
New Member

Plot location from two tables on 1 map; filter only one set with slicer

Hi, 

 

I'm trying to plot locations from two different tables on one map, and then filter locations from one table only (i.e. all locations from second table remain on the map). The map shows preferred supplier locations and transactions with non-preferred suppliers. I want to be able to filter the transactions data only (by cost centre, or other factors) and the map show filtered transactions but continue to show all (i.e. unfiltered) preferred supplier locations. 

 

I have:

Table 1 - Preferred Supplier Locations (i.e. a list of supplier sites)

Supplier NameSite NameLatitudeLongitude
Supplier 1Alphadata filleddata filled
Supplier 1Bravodata filleddata filled
Supplier 1Charliedata filleddata filled

 

Table 2 - Transactions (Purchases made at non-preferred supplier locations)

Supplier 1Preferred Site NameLatitudeLongitudeCost CentreTransaction NumberProductQuantityUnit PriceTotal Price
Supplier 2Name Adata data 123data filleddata data data data 

Supplier 2

Name Bdata data 456data filleddata data data data 
Supplier 3Name Cdatadata789data filleddatadatadatadata
Supplier 2Name Bdata data 789data filleddata data data data 
Supplier 3Name Cdata data 123data filleddata data data data 

 

I have created a new table in Power Query that appends common columns from these two tables (meaning there are duplicate rows due to different transactions at same location)

Table 3 - MapData

Supplier NameSupplier Site NamePreferred Site NameLatitudeLongitude
Supplier 1 Alphadata data 
Supplier 1 Bravodata data 
Supplier 1 Charliedatadata
Supplier 2Name A data data 

Supplier 2

Name B data data 
Supplier 3Name C datadata
Supplier 2Name B data data 
Supplier 3Name C data data 

 

I have created a map (using Azure map visualization) based on Table 3 - MapData which successfully shows a bubble for each Preferred Supplier Locaiton and for each transaction, colour coded by Supplier Name. 

 

Here's where i run into trouble. 

I am trying to apply a slicer to Table 2 by Cost Centre to show only Table 2 transactions on the map along side all Supplier 1 locations from Table 1. But when I apply this slicer filter to Table 2, the data from Table 1 on the map disappears, too. 

 

I have a relationship linking Table 2 and Table 3 using Supplier Location Number (many to many, although i have also tried removing duplicates from Table 3, but that still needs to be many to many as Supplier 1 locations are present). 

 

How do I fix this? 

Do i need to combine the data in some different manner, or apply the slicer or relationships differently? 

Help! 

 

Thanks in advance! 

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Simonsimonsimon ,

So you want the slicer to control only Table 2? You can follow the steps below:

1. Click slicer, select Format> Edit interactions.

vyifanwmsft_0-1721108049555.png

2. Select Filter for the data you want to filter, and select None for the rest.

vyifanwmsft_3-1721108362270.png

 

Final output:

vyifanwmsft_4-1721108462751.png

 

Best Regards,

Ada Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Simonsimonsimon
New Member

I should add, I'm pretty new to using PowerBI! 

Just figuring it out as I go.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors