I have two tables and one of them has orphan records. I'm just starting to dive into Power BI. I know how to solve this problem using SQL Server and I assume it's not that hard to solve in Power BI. However, Power BI has me stumped at the moment. Using Power BI, how can I find rows from an Order table that do not have matching LineItem rows?
This is what the solution would be in SQL. I'm trying to solve this without leaving Power BI.
SELECT DISTINCT
[Order].[OrderId]
FROM
[dbo].[Order]
LEFT JOIN [dbo].[LineItem] ON [Order].OrderId = [LineItem].[OrderId]
WHERE
[LineItem].[OrderId] IS NULL