Forum Discussion

croberts21's avatar
croberts21
Icon for Continued Contributor rankContinued Contributor
1 year ago
Solved

Data shows in PBI Table View but I get error when adding field to table viz.

I have PBI Desktop version Feb 2025 on Windows Server 2019 v10.0, I'm getting data in Import mode from a MS SQL Server database. 

 

Problem: I run a query using 2 tables with a left join in SSMS and it works fine. So I replace my PBI query call it "lineitem" with the new field "shipvia" from the other linked table "shippingmethods" and in PBI Table view all the data shows correctly.But when I try to drag the ShipVia field to my table viz I get an error: "can't determine relatioship between fields". But this ShipVia already works in PBI Table view. 

 

Is this a bug? This is the only change I made. 

 

I normally add each table separately and link them in "Model view" but I got an error doing that as well when I dragged ShipVia to my table viz. The error was the same as above.

 

So SSMS (SQL Server Management Studio) is linking the tables just fine but PBI is not. 

 

Thank you.

 

 

 

 

  • It would take a few hours to make artificial data, and I got the report to work my remaking it from scratch. The original report was a spaghetti bowl of many-to-many relationships which was probably part of the problem.

     

    This issue can be closed now.

7 Replies