Forum Discussion
Anonymous
1 year agoNot applicable
DAX Formula - Mismatch
Hi, Could you please create a DAX formula that shows SalesOrders that have a warehouse that doesnt match Purchasing warehouse. the tables i have are: SalesOrder : - SalesOrderNumber -...
Ashish_Mathur
Super User
1 year agoHi,
This M code works
let
Source = Table.NestedJoin(Salesorder, {"Sales Order number "}, purchasing, {"Sales Order number "}, "purchasing", JoinKind.LeftOuter),
#"Expanded purchasing" = Table.ExpandTableColumn(Source, "purchasing", {"Warehouse"}, {"Warehouse1"}),
#"Filtered Rows" = Table.SelectRows(#"Expanded purchasing", each ([#"Warehouse "] <> [Warehouse1]))
in
#"Filtered Rows"
Hope this helps.
Anonymous
1 year agoNot applicable
Hi This is what i got :
- Ashish_Mathur1 year ago
Super User
My code has to be pasted in the Advanced Editor window which is available under View. Ensure that the table and column names in your actual file are the same as those which are in the M code which i shared.