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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Sales Actuals

(0) ShareShare
ReportReport
Posted on by

Hope you can shed some light on Sales Costs (Actual) and Sales Excise (Actual).

 

I have done some investigation to trace where Sales Costs (Actual) and Sales Excise (Actual) derive from.

 

From the DW (Posted Sales Transactions) I can see that Sales Costs (Actual) comes from the Nav_dbo_Value Entry table in JetNavStage area as a custom field and Sales Excise (Actual) is also a custom field.

 

When I drill down further I have noticed that this columns is located in the Jet_Historic Posted Sales view in the NAV data source (see 2nd screenshot from SQL)  as this 2 fields are not listed in the source table (Value Entry). If my judgement is correct and you more than welcome to correct me if I am wrong, the Sales Costs (Actual) and Sales Excise (Actual) gets  created manually in the Nav_dbo_Value Entry table as custom fields and retrieves its data from the Jet_Historic Posted sales automatically when the DW gets updated in the evenings.  This also goes for the Sales Revenue (Actual)

 

What I am trying to do is , is to create calculations in Tableau for my visualizations, however as stated above the columns mentioned is not in the Value Entry source table in NAV, for me to create the calculations as per the calculations on the cube measures. I do not connect Tableau to the cubes , I connect directly to the source tables in NAV. The columns is in my fact table in the data warehouse because it gets it from the staging area when the ETL process runs.

 

For example: If I want to do a calculation on the live data to calculate the Gross Revenue , I will have to have Sales Revenue and Sales Excise

Because Sales Revenue – Sales Excise = Gross Revenue

 

What I have been trying to do is , join the Jet_Historic Posted Sales Transactions view to the Value Entry Table so that I can retrieve the data for that columns, however the query runs very long.

 

Do you have any suggestions or ideas you can share  based on my explanation

SQL-snippet-on-Sales-Cost-and-Sales-Excise.JPG

 

Thank you in advance

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    Can you learn how Sales Costs (Actual) and Sales Excise (Actual) are calculated in DW? They should be anyway calculated using NAV data source, using e.g. Sales Invoice Line table and some other fields of Value Entry.

  • Community Member Profile Picture
    on at

    Surely Sale Cost (Actual) and Sales Excise (Actual) is not listed as columns in the sales invoice line table and does not get calculated there either , to be more clearer , the value entry table in the staging area of my DW contains the columns as custom fields and then gets transformed into the Posted Sales Transactions in my DW fact table. I am using a BI tool called timextender , surely you have heard about it. no my data source which is NAV has views and in the view we have a view that was created called historic sales transactions which contains this columns but not the value entry table  and as I mentioned in my previous post I think that with the ETL process runs it extracts the data from the view in the value entry table in the staging area and then into the DW fact table. Now my analysis I am doing Is with Tableau and I only joined the sales invoice header with the value entry and customer table and so far or should I say for some clients the sales amount (actual) values do match in Tableau vs OLAP cube. but to further my calculation for Net Revenue and Gross Revenue I need to be able to get sales cost and sales excise in as well , if you did not know what excise is , it is tax

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans