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

Relationships Not Working

Hi,


I created a separate table with the same values as two other tables in my dashboard but they won't connect and i am not sure why.

 

Column 1 contains the same values as customer in 3 of the other tables.

 

Capture.PNG

 

Kind regards


Dominic

25 REPLIES 25
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

Could you please mark the proper answers as solutions?

 

Best Regards,

Dale

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

Hi Dale,

 

It hasn't worked unfortunately, I already tried the suggested solutions before and it wasn't connecting and came up with the errors shown in the previous screenshots.

 

The data is exactly the same, I even created a table with one column with the exact same data and it still wouldn't connect?

 

Kind regards


Dominic

Hi @Anonymous,

 

Can you share the file? You can mask or delete sensitive parts first.

 

 

Best Regards,

Dale

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

What's the best way to mask the data?

Create a similar dummy one. Only keep the rows that can reproduce the issue.

 

 

Best Regards,

Dale

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

Hi Dale,

 

I have created a dummy one with dummy data that has the same structure.

 

The PBI file is a stripped back version of my actual file but barely. The problem is still here and the data is the same.

 

I have one file which has the data for two of the tables in across two different tabs and another file which holds the relationships they have.

 

All downloadable from https://we.tl/t-uloHL7AUfG 

 

Kind regards


Dominic

Hi Dominic,

 

The download link seems broken. Can you check it?

 

Best Regards,

Dale

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

Hi Dale,

 

Try this one.

 

https://we.tl/t-isiWzaftgb 

 

Kind regards


Dominic

Hi Dominic,

 

It's strange. The new link still shows up an error message.

error_we

 

Best Regards,

Dale

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

Hi Dale,

 

Try one of these links.

 

https://we.tl/t-vN8nhYh0b0

 

https://we.tl/t-D7T78bwWma

 

https://we.tl/t-FFxXnTVbwZ

 

Kind regards


Dominic

Hi Dominic,

 

It works now. 

How did you create the table "Customer List"? 

Does it have unique values?

It could be created like below.

Customer =
DISTINCT (
    UNION (
        VALUES ( 'Data Dump - Sales'[Customer] ),
        VALUES ( 'Data Dump - Trade Spend'[Customer] )
    )
)

A more compatible one is as follows.

Customer =
FILTER (
    DISTINCT (
        UNION (
            VALUES ( 'Data Dump - Sales'[Customer] ),
            VALUES ( 'Data Dump - Trade Spend'[Customer] )
        )
    ),
    ISBLANK ( [Customer] ) = FALSE ()
)

Relationships_Not_Working2

 

Best Regards,

Dale

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

Hi Dale,

 

So I created the shared fields table with all of the different columns of data that is the same as in th eother tables.

 

I did this by getting data from a separate Excel doc, is this not the way to do it?

 

Kind regards

 

Dominic

Hi Dominic,

 

Yes, you can get the data from anywhere. What is the error message exactly?

 

Best Regards,

Dale

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

Hi Dale,


The message is below.

 

 

 

Capture 2.PNG

 

 

Kind regards


Dominic

Does the table 'Customer List'[Column1] have unique values? Or blanks?

 

Best Regards,

Dale

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

Hi Dale,

 

What is a 'unique value' in this instance?

 

They should match exactly what is in the other tables under the [Customer] column, there shouldn't be any blanks as far as I am aware.

Hi Dominic,

 

The 'unique values' should only appear once in the column 'Customer List'[Column1]. For example, 

Customer 1

Customer 2

Customer 3

 

Can't be like below

Customer 1

Customer 2

Customer 1

 

Please check.

 

Best Regards,

Dale

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

Hi Dale,

 

I did send the raw data over as well for this, please see the below screenshot. It is in the first column.

 

When it comes to the other tables, this data is repeated in the same column as per the below screenshot.

 

Capture2.PNGCapture.PNG

 

Kind regards


Dominic

Hi Dominic,

 

How did you create the relationship? Which table[column] to which table[column]?

 

Best Regards,

Dale

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

Hi Dale,

 

The issue is I can't create the relationship.

 

I am looking to create a relationship between these variables across all the tables.

 

I retrieved data from one excel file for two of the tables and then I created a separate Excel file for the column to contain the shared vriables.

 

Kind regards


Dominic

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.