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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
tinyninja
New Member

Trying to Use Slicers to Narrow down a Table with little Success

So I have a table of deals that I want to filter. Here are some important facts:

1. One deal can be assigned to several users of the same role

2. Each user can be assigned to more than one role

3. Each user can be assigned to the same application more than once under different roles

4. The main table of deals can only contain one row for each deal

 

My goal is to have one filter that narrows down the deal list by whether anyone of a given role has been assigned, another filter that specifically narrows the list by whether a certain person is assigned, and the ability to combine the filters to find all deals with a specific role assigned and a specific user in that role.

 

I have tried to build relationships to capture this interaction, but I just can't get it right. I know there is something I am missing and need some help to figure this out. 

 

Main Table: 

Application ID ManagersUnderwritersBDMsDeal Amount
1John Doe, Jane KimHelen BaneHelen Bane, Luke Hanson$500,000
2John DoeLuke Hanson Luke Hanson $555,000
3John DoeLuke Hanson Helen Bane$333,000
4Jane KimLuke Hanson Helen Bane, Luke Hanson$250,000
5Jane KimLuke Hanson Helen Bane$777,000
6Jane KimLuke Hanson Helen Bane$620,000
7Jane KimLuke Hanson Luke Hanson $150,000
8John Doe Luke Hanson $888,000
9   $345,000

 

Users Table: 

NameUser ID
John Doe111
Jane Kim122
Helen Bane133
Luke Hanson144

 

Roles Table:

RoleUser ID
Manager111
Manager122
Underwriter133
Underwriter144
BDM133
BDM144

 

Assigned Managers:

Application ID User ID
1111
1122
2111
3111
4122
5122
6122
7122
8111

 

Assigned Underwriters:

Application ID User ID
1133
2144
3144
4144
5144
6144
7144

 

Assigned BDMs:

Application ID User ID
1133
1144
2144
3133
4133
4144
5133
6133
7144
8144

 

Relationships I have tried:

tinyninja_1-1704218032635.png

 

Hopefully you guys can help me with this. Thanks so much

 

2 REPLIES 2
v-junyant-msft
Community Support
Community Support

Hi @tinyninja ,

Can you elaborate on what problem you are having with "but I just can't get it right"? Ideally you would like to have a screenshot to illustrate the error you are experiencing and what you are hoping to get out of it.
But based on the information you've provided so far, I think that may be the problem:

vjunyantmsft_0-1704269077877.png

Many-to-many relationships have a lot of limitations and can also allow many operations to yield incorrect results. You can try to optimize the many-to-many relationship to see if you can get the desired result.
Many-to-many relationship guidance - Power BI | Microsoft Learn

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

tinyninja
New Member

Was thinking maybe I need different tables for the users assigned to each role but it doesn't work for creating a slicer and also creates ambiguity from what I recall. 

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors