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 -...
ryan_mayu
1 year agoSuper User
Anonymous
you can try to create a column
Column =
VAR _w=maxx(FILTER(Purchasing,Purchasing[Purchase order number ]=SalesOrder[Purchase Order Number ]),Purchasing[Warehouse])
return if(_w<>SalesOrder[Warehouse ],"y")
pls see the attachment below
Anonymous
1 year agoNot applicable
Thank you, however it says : The syntax for 'return' is incorrect. (DAX(maxx(FILTER(Purchasing,Purchasing[Purchase order number ]=SalesOrder[Purchase Order Number ]),Purchasing[Warehouse])return if(_w<>SalesOrder[Warehouse ],"y"))).
- ryan_mayu1 year agoSuper User
could you pls provide the pbix file?