Question: (Based on the North-wind database) Create an appropriate query that allows you to see the total revenue broken down by any of product name, product

(Based on the North-wind database) Create an appropriate query that allows you to see the total revenue broken down by any of product name, product category, month-year of order date, or customer. Here revenue is defined as Unit-Price*Quantity*(1-Discount), where these fields all come from the Order Details table. You can do this in either of two ways. First, you can return all of the data as a table, then use an Excel formula to calculate revenue for each row, and finally use a pivot table to get the desired results. Second, you can create a calculated field Revenue in Microsoft Query and return the results as a pivot table. (The latter is actually preferable because a pivot table takes up less room in Excel. Imagine if there were millions of rows in the Order Details table. They wouldn't fit in Excel if you tried to bring them in as a table, but this isn't a problem with a pivot table.)

Step by Step Solution

3.41 Rating (186 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Sum of Revenue Column Labels Row Labels Beverages Condiments Confections Dairy Products GrainsCereals MeatPoultry Produce Seafood Grand Total 1996 Jul ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (3 attachments)

PDF file Icon

1209_60bca5b765664_564979.pdf

180 KBs PDF File

Excel file Icon

1209-M-S-D-A(9009).xlsx

300 KBs Excel File

Word file Icon

1209_60bca5b765664_564979.docx

120 KBs Word File

Students Have Also Explored These Related Statistics Questions!