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
dokat
Post Prodigy
Post Prodigy

Link Tables Return incorrect values

Hi,

I have two tables where i am trying to establish relationship. Here are things i tried

 

First Try

1. Created Bridge table between Region and POS 

2. Created Unique Key to Link two tables -> Concentane ("Manufacturer&"Brand")

3. Establish Many to Many Cardinality relations 

I was able to pull correct manufacturer, and brand info however incorrect sales, in short it didnt work

 

Second Try

1. Created Many to Many cardinality relationship directly between Region and POS using Brand as unique key. It didnt work as it didnt pull correct manufacturers from Region Table.

 

POS[Brand] has 412 Brands listed

Region[Brand] has 397 Brands listed

 

Third Try

 

1. I created direct relationship between POS and Region table via brand

2. Created SIngle (POS filter to Region) relationship

 

...It return correct values for POS table however for Region table returns incorrect values basically sales for non filtered categories. 

 

dokat_0-1646858605743.png

 

 

dokat_0-1646847506020.png

 

dokat_1-1646848532591.png

 

dokat_1-1646859174853.png

 

1 ACCEPTED SOLUTION
dokat
Post Prodigy
Post Prodigy

I figured out my problem. Followed below steps to solve

 

1. Created Unique Key including all columns before appending and creating bridge tab;e

2. Delete all other columns aside unique key before appending in reference tables

3. Link both tables to bridge table

 

This solved my problem

View solution in original post

1 REPLY 1
dokat
Post Prodigy
Post Prodigy

I figured out my problem. Followed below steps to solve

 

1. Created Unique Key including all columns before appending and creating bridge tab;e

2. Delete all other columns aside unique key before appending in reference tables

3. Link both tables to bridge table

 

This solved my problem

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.