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.
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.
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.
Regards,
Charlie Liao
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |