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
Greg0ry
Helper II
Helper II

Powerbi table connection

In powebi, in linking tables and model view, I can't link 3 tables. Can you help me? The 3 tables are "sales table", "customers table" and "objectives table". The “sales table” is linked to the “customers table” with the “customer code” key. The "sales table" contains the "date" column. The “customers table” contains the “promoter” column. I want to connect the "objective table" which contains the "date" and "promoter" columns with the "sales table" and "customers table", but it does not work.

Greg0ry_0-1737969340614.png

 

1 ACCEPTED SOLUTION

Hi @Greg0ry ,

After reviewing the provided screenshot, we identified a potential data type mismatch between the Datum[Date] column (formatted as DateTime) and the Objectifs promoteurs[Mois] column (formatted as Date). This inconsistency could contribute to errors when establishing relationships between the tables.

To expedite troubleshooting, could you kindly share a simplified .pbix file that replicates the issue? Please include a brief description of the expected outcome in the file or your response. This will allow us to:

  1. Validate the root cause of the relationship error.

  2. Replicate the scenario and test solutions efficiently.

You can securely upload the file using the community portal here:
How to upload PBI in Community

Note: Ensure sensitive data is removed or anonymized before sharing.

Thank you for your collaboration. We’ll prioritize resolving this once we receive the sample file.

Best Regards

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

View solution in original post

10 REPLIES 10
Greg0ry
Helper II
Helper II

Thanks but what is the solution?

Hi @Greg0ry ,

Could you please provide us with the final results you are aiming to achieve? This will help us offer the most appropriate solution for your needs. We might be able to create a relationship by using a bridge table, adding a new combinated column, or developing specific measures to meet your requirements. Below are some threads that discuss similar issues to yours; hopefully, the solutions they offer will inspire you or resolve your problem.

Solved: Can't Create Relationships due to 'Ambiguity' - Microsoft Fabric Community

How to manage ambiguous relationship in Power BI

Measures:

Solved: Relationship ambiguity - Microsoft Fabric Community

Solved: Power BI - ambiguous relationships - Microsoft Fabric Community

Best Regards

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

Hello, sorry for my response delay. This is the result I want to achieve:

Greg0ry_0-1739797804041.png

I would like to have the monthly objective for each line and not the overall objective.

Thank.

Hi @Greg0ry ,

Could you please provide guidance on how to determine the monthly objective for each line? Additionally, I would appreciate it if you could share the related calculation logic and the expected values for each line based on the sample data you provided. Thank you.

vyiruanmsft_0-1739843969002.png

Best Regards

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

Hello, yes the objective is completed by me in a table stored in sharepoint.

Greg0ry_0-1739871056423.png

But I cannot connect the datum table with the objective table which contains the dates, in order to have a monthly distribution

Greg0ry_1-1739871227012.png

 

Hi @Greg0ry ,

After reviewing the provided screenshot, we identified a potential data type mismatch between the Datum[Date] column (formatted as DateTime) and the Objectifs promoteurs[Mois] column (formatted as Date). This inconsistency could contribute to errors when establishing relationships between the tables.

To expedite troubleshooting, could you kindly share a simplified .pbix file that replicates the issue? Please include a brief description of the expected outcome in the file or your response. This will allow us to:

  1. Validate the root cause of the relationship error.

  2. Replicate the scenario and test solutions efficiently.

You can securely upload the file using the community portal here:
How to upload PBI in Community

Note: Ensure sensitive data is removed or anonymized before sharing.

Thank you for your collaboration. We’ll prioritize resolving this once we receive the sample file.

Best Regards

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

The problem is solved! Thank you!

Hello, I would like to obtain this table with a “promoteur” column, a "turnover" column, a "date" column, and an "objectif 2024" column. Thank

Greg0ry_0-1739179789328.png

 

Hi @Greg0ry ,

Thanks for your reply. It seems like the required columns are from multiple tables. Could you please provide some raw data in involved tables(exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

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

Hi @Greg0ry 

What you're attempting to do will create ambiguity. Vente is already linked to Clients, and Clients are connected to Objectifs. If you establish a direct relationship between Vente and Objectifs, it will result in a circular relationship. When using columns from these tables, it becomes unclear which relationship will take precedence: Vente to Clients/Objectifs, Objectifs to Clients/Vente, or Clients to Vente/Objectifs.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

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 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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