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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
carlosBI
New Member

Filtering by BOTH Criteria not Either

Hello, I have some zip codes with sales data. I have it on some tables and a map. If I filter by clicking on Albert and Mary in Table 1, my map and Table 2 gives me the zip code that has sales for EITHER  Albert OR Mary. I want the zip codes that have sales for BOTH Albert AND Mary. Any suggestions on how can I do this? If I have to use a method different from these tables it would work too. Thanks in advance.

 

(I am familiar with SQL but I am fairly new in PowerBI.)

 

Table 1

Sales AgentSales
Albert19
Jeremy13
Mary20

 

Table 2

Zip  CodeSales
111112
222210
33339
444421

 

Sample Data:

 

Zip CodeSales AgentSales
1111Albert5
1111Jeremy1
1111Mary6
2222Jeremy10
3333Mary7
3333Jeremy2
4444Albert14
4444Mary7
1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@carlosBI ,

 

You may take a look at the following posts.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@carlosBI ,

 

You may take a look at the following posts.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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