Hi - please see tab “New COGS example” in the attached pbix file. I am trying to show sales amt/cost amount/margin per works order number.
There is a relationship between SO_DETAIL and WO_HIST_HD
I have tried CROSSFILTER to pull through the costs from the CN_SALES_CC (costs) table which seems to work with the WO number. But despite the relationship I can’t get the WO number, sales and costs on the same line, I tried ALLSELECTED too but I am getting in a tangle!!
Grateful to receive any help, thanks Lizzie
Removed pbix with sensitive data - will replace with dummy data model soon, thanks