The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello -
I am trying to calculate net sales: Total invoiced amount - amount returned
Table 1: contains column "total amount"
Table 2: contains column "amount returned"
They are related via a table of distinct customers (table 3), we also have a table in the data model with manufacturers
I need to show net sales over a given period of time per customer and per manufacturer (different visuals). I can screenshot relationships if need be.
I have tried many different measures and calculated columns but nothing seems to be working correctly. Any ideas? Thanks!
Proud to be a Super User!
@vanessafvg thanks for the reply. The issue is that net sales for customer or manufacturer are not displaying correctly - which makes me think it's an issue with relationships.
I tried adding measures and calculated columns (using the formula screenshotted below) on both "PostedSalesInvoiceSalesInvLines" and "PostedSalesInvoices". The total amount comes from "PostedSalesInvoiceSalesInvLines" and the amount returned comes from "PostedSalesCreditMemosLines".
Hi,
Share the link from where i can download your PBI file. To void confusion, please remove the tables which are not required. Also, please show the expected result very clearly.