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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Visharavana
Resolver II
Resolver II

Need help for data model

I have PR, PO, and GR tables. Three tables are connected to the correct relationship. Now I want to connect the dim_date table to these tables, and one issue is that PR, PO, and GR tables have separate dates. I connected dim_date to the PR table date column but was not able to connect to the PO and GR table date columns. It shows an ambiguity problem. How to connect these tables without using USERELATIONSHIP.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Visharavana ,

 

As far as I know, Power BI Desktop allows only a single active relationship between two tables at a given time.

Currently, you want to create the relationship between PR, PO, GR and DimDate table.

vrzhoumsft_0-1728978656660.png

From above sample relationship, we find that there are two active relationship between Date and PO.

DimDate -> PO

DimDate -> PR -> PO.

So Power BI will return error until you inactive one relationship.

For reference:

Understanding Ambiguity in Power Data Model - Microsoft Fabric Community
Create and manage relationships in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards,
Rico Zhou

 

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

3 REPLIES 3
Kedar_Pande
Super User
Super User

Instead of having one dim_date table, create separate date tables for each of your tables (e.g., dim_date_PR, dim_date_PO, dim_date_GR). Each of these can have a many-to-one relationship with their respective tables based on their date columns.

 

Connect each date table to its corresponding table based on their respective date columns.
This approach avoids ambiguity and maintains clear relationships for each table.

 

If this helped, a Kudos 👍 or Solution mark would be great!
Cheers,
Kedar Pande
www.linkedin.com/in/kedar-pande

Thank you for your fast response.I want to use one date for the whole report. That's why I created dim_date. Your given idea does not fit this scenario because I want only one date column. That column filter used the whole report. Is there any other possible way?

Anonymous
Not applicable

Hi @Visharavana ,

 

As far as I know, Power BI Desktop allows only a single active relationship between two tables at a given time.

Currently, you want to create the relationship between PR, PO, GR and DimDate table.

vrzhoumsft_0-1728978656660.png

From above sample relationship, we find that there are two active relationship between Date and PO.

DimDate -> PO

DimDate -> PR -> PO.

So Power BI will return error until you inactive one relationship.

For reference:

Understanding Ambiguity in Power Data Model - Microsoft Fabric Community
Create and manage relationships in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.