cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

filtering one table based on if multiple values exist in another table

I'm have two tables in my data set

 

manageruser 1
manageruser 2
manager 2user 3
manager 2user 4
manager 2user 5

 

and 

 

user 1a
user 2b
user 3a
user 4a
user 5a

 

I need to create a report view that will show me the Manager value in the first table, only for values where i have multiple options in the second table.

So in the case of the tables above i want to see the value for manager because user1 and user 2 have values a and b.

I don't care about Manager 2 as their associated users all have value a.

 

I already created a table relationship using the user column in the first table as the primary key.

 

I'm not really sure how to ask the question for a google search on this one so hopefully someone can point me in the right direction.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: filtering one table based on if multiple values exist in another table

Hi,

 

You may download my solution from here.

 

Hope this helps.


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

View solution in original post

4 REPLIES 4
Highlighted
Microsoft
Microsoft

Re: filtering one table based on if multiple values exist in another table

@powerbinoob457,

Please review the calculations in the PBIX file below.

https://1drv.ms/u/s!AhsotbnGu1NojkJOHcLiVIZAgsu7


Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Super User III
Super User III

Re: filtering one table based on if multiple values exist in another table

Hi,

 

You may download my solution from here.

 

Hope this helps.


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

View solution in original post

Highlighted
Frequent Visitor

Re: filtering one table based on if multiple values exist in another table

Thanks Ashish your solution seems to work best for my needs.

Highlighted
Super User III
Super User III

Re: filtering one table based on if multiple values exist in another table

You are welcome.


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

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors