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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
wilson_smyth
Post Patron
Post Patron

Issue with Many to Many

Im trying to solve a many to many challenge without using a many to many join & without using bi-directional filters.

 

I have the following tables:
Dim Users - distinct list of users

Dim Reports - distinct list of reports

Fact Reports - table of reports that are submitted by users


The difficulty comes when creating a "Dim ThirdPartyNumber" table.

This table contains 3rd party ID's for users of which there can be many.
So the relationships are:

[Dim ThirdPartyNumber] *------1[Dim User]1-----*[Fact Reports]*-----1[Dim Reports]

 

If i create a table, i can drag on fields from [Third rdParty User], [Dim User] & [Fact Reports].
When i drag on a field from Dim Report however the report breaks.

I can fix it by enabling bi directional filters throughout the model, but i really want to avoid this.
Are there any other suggestions on how to handle this?

Ive included an example PBIX, located here:

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

 

Appreciate any expertise provided, thank you.

 

Capture.JPG

 

2 REPLIES 2

I don’t understand what you are saying here.  Can you please clarify

 


@wilson_smyth wrote:

If i create a table, i can drag on fields from [Third rdParty User], [Dim User] & [Fact Reports].
When i drag on a field from Dim Report however the report breaks.




* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

mostly, i will be using the third partyID in a slicer but users may want to add it to a table to link it with the Report Name, shown below.

 

 

PaulReport 15000001
PaulReport 25000001
PaulReport 35000001
PaulReport 15000002
PaulReport 25000002
PaulReport 35000002
MaryReport 45000010
MaryReport 55000010
MaryReport 45000011
MaryReport 55000011
FrankReport 65000020
FrankReport 75000020
FrankReport 85000020
FrankReport 95000020
FrankReport 65000021
FrankReport 75000021
FrankReport 85000021
FrankReport 95000021
FrankReport 65000022
FrankReport 75000022
FrankReport 85000022
FrankReport 95000022

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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