web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

How to find or link Sales and Cost data in Dynamics 365 BC for reporting

(1) ShareShare
ReportReport
Posted on by

Hi everyone,

I’m working on a Power BI report connected to Dynamics 365 Business Central, and I need to calculate Profit Margin.

The challenge I’m facing is:

  • I can’t find a single table that contains both Sales Amount and Cost Amount.
  • I also couldn’t identify two tables with a clear common field (like SO No, PO No. or Item No.) to create a reliable relationship.

Could someone please guide me on:

  • Which table(s) in BC should I use to get both Sales and Cost data?
  • If they are in separate tables, what’s the standard way to link them so I can calculate profit margin in Power BI?
 

    Thanks!

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    90,137 Super User 2025 Season 2 on at
    How to find or link Sales and Cost data in Dynamics 365 BC for reporting
    If you don't associate SO and PO (Special Order, Drop Shipment...), or if you don't use Item Tracking Lines (such as Lot No.), I don't think it will be possible to find the accurate associated data.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    22,623 Most Valuable Professional on at
    How to find or link Sales and Cost data in Dynamics 365 BC for reporting
  • André Arnaud de Calavon Profile Picture
    297,483 Super User 2025 Season 2 on at
    How to find or link Sales and Cost data in Dynamics 365 BC for reporting
    Moved from "Engage with the community" to the Dynamics 365 Business Central forum.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,669 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,668

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,203

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans