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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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