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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
asriniva33
Frequent Visitor

Dimensional model querying

Hi,

 

I have connected my Power BI Desktop to TFS_Warehouse(Dimensional Model) database on Direct Query Mode. I am facing an issue when trying to get data from three different tables simultaneously into my chart.

 

Scenario: There is a Dimension Table(D1) connected to a Fact Table(F) with 1 to Many relationship. There is one relationship of Many to 1 from the same Fact(F) to a Date Dimension(D2). Now, when i am trying to display the fields from the three tables an error as "Can't determine relationships between the fields". 

 

But surprisingly if i try to display the data from two tables (one fact and one dimension), i am able to display the data without the error.

Could someone please let me know if there is any solution to my issue.

 

 

 

 

 

1 REPLY 1
v-caliao-msft
Microsoft Employee
Microsoft Employee

Hi @asriniva33,

 

I have tested it on my local environment, we can reproduce this issue. The issue is cause by that there is no a directly relationship between those two dimension table. I use AdventureWorksDW2012 sample database in my test. I get data from three tables below.
DimDate
DimProductCategory
FactInternetSales
there is no directly relationship between DimProductCategory and FactInternetSales, the relationship is
FactInternetSales->DimProduct->DimProductSubcategory->DimProductCategory 

when I load DimProduct and DimProductSubcategory, the issue disappear.

Capture.PNGCapture1.PNG

 

Regards,

Charlie Liao

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.