Create New Table and update table with data from another

JasonK
Member Posts: 5
in SQL General
Hi
I have created a table in SQL , the table will contain selected columns from the Value Entry table in our NAV database. I do visualization in Tableau , however to do visualization with data containing the Item Charges is a bit tricky and difficult to add to the visualization in Tableau. This is the for me creating a new table and then split the item charges with a CASE or IF statement when I alter the stored procedure in SQL. my new column must contain or I must add 2 to 3 new calculated columns including the columns I have selected from the value entry table to be inserted. the calculated columns will be Sales Support, which will consist of (Promo, Rebate, Storage) , Export Cost which contains 'FOBB' charges which is costs. to give you an understanding of the this is , PROMO REBATE and STORAGE including FOBB is all listed in the Item Charge No column in the Value Entry table within NAV , the sales amount(Actual) will have another column added as Gross Revenue. The sales amount(actual) column contains the value of the item charges. hope you understand my explaination and hope you can assist in this regard
How would I get this to work so that the stored procedure can update my new table containing the splits into the related columns ,
I have created a table in SQL , the table will contain selected columns from the Value Entry table in our NAV database. I do visualization in Tableau , however to do visualization with data containing the Item Charges is a bit tricky and difficult to add to the visualization in Tableau. This is the for me creating a new table and then split the item charges with a CASE or IF statement when I alter the stored procedure in SQL. my new column must contain or I must add 2 to 3 new calculated columns including the columns I have selected from the value entry table to be inserted. the calculated columns will be Sales Support, which will consist of (Promo, Rebate, Storage) , Export Cost which contains 'FOBB' charges which is costs. to give you an understanding of the this is , PROMO REBATE and STORAGE including FOBB is all listed in the Item Charge No column in the Value Entry table within NAV , the sales amount(Actual) will have another column added as Gross Revenue. The sales amount(actual) column contains the value of the item charges. hope you understand my explaination and hope you can assist in this regard
How would I get this to work so that the stored procedure can update my new table containing the splits into the related columns ,
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions