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
Anonymous
Not applicable

Relationship ID mismatch leads to incorrect visual

Hi,

 

I have 2 tables which are connected through a 3rd table (unique IDs from Table1 as below). 

 

Table1_IDTable1_ID_UniqueTable2_ID
AAA
BBB
CCC
DDE
A F
B G
C A
D B

 

Now when I filter my visual for E/F/G I see numbers for D, instead of blanks.

Directions between Table1 and Table1_unique is single, to Table1, between Table1_unique and Table2 it's both. I'm working on AAS through VS SSDT 2017, many-to-many is not possible. 

Please let me know how to fix this. 

 

3 REPLIES 3
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?

 

Best regards,

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

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can try to use the following formula to create  Table1_ID_Unique: 

 

Table1_ID_Unique =
DISTINCT ( UNION ( DISTINCT ( 'Table1'[ID] ), DISTINCT ( 'Table1'[ID] ) ) )

Best regards,

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

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Watsky
Solution Sage
Solution Sage

You should have an inbetween Table that encompasses all of the unique values from both tables so instead of it showing just A,B,C,D it would show A,B,C,D,E,F,G. Create a reference table of table two then remove duplicates and append the results with Table1 Unique. Then change your cross filter direction to both on each side of Table1 Unique.


Did my answer(s) help you? Give it a kudos by clicking the Thumbs Up!
Did my post answer your question(s)? Mark my post as a solution. This will help others find the solution.

Proud to be a Super User!

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.