Question
upstudy study bank question image url

Shirt_Orders.accdb is an Access database file with three related tables: Customers, Orders, and Products. The goal here is to create a table in Excel that contains the of date, customer name, and product description for all orders that satisfy conditions on orders, products, and customers. Proceed as follows: a. Use Power Query to import all three tables into Excel as tables (not a Data Model). The only use for Query Editor is to remove the columns not used for this problem: Street, City, State, Zip, Phone for customers, Discount for orders, and UnitPrice for products. b. Add three new fields, Customer, Product, and Gender, to the Orders table in Excel and use VLOOKUP functions to fill them. c. Filter the Orders table as necessary. For this problem, use a " \( >75 \) " filter for units ordered, "Both" for gender, and both "Threads" and "Shirts R Us" for customer. What is the total number of orders for the selected filters?

Ask by Bartlett Bernard. in the United States
Feb 24,2025

Upstudy AI Solution

Tutor-Verified Answer

Answer

After importing the Customers, Orders, and Products tables into Excel using Power Query and removing unnecessary columns, adding the Customer, Product, and Gender fields via VLOOKUP, and applying the specified filters (Units Ordered >75, Gender = Both, Customer = Threads or Shirts R Us), there are a total of 4 orders that meet all the conditions.

Solution

Below is one acceptable solution that explains the process and arrives at the answer below. In our example we begin by importing the three tables (Customers, Orders, Products) from Shirt_Orders.accdb using Power Query (imported as regular Excel tables, not as a data model). In Query Editor we remove the “extra” fields: in Customers the fields Street, City, State, Zip, and Phone; in Orders the Discount field; and in Products the UnitPrice field. (After closing & loading, the tables are available on separate worksheets as flat tables.) Next we work with the Orders table. We add three additional columns:  • A Customer field (filled via a VLOOKUP into the Customers table to retrieve the customer name)  • A Product field (by VLOOKUP into the Products table)  • A Gender field (by VLOOKUP into the Customers table so that each order’s customer gender is known). Then we filter the Orders table on three conditions:  1. Units Ordered is greater than 75.  2. The Gender field equals “Both”.  3. The Customer field (that we filled via VLOOKUP) is either “Threads” or “Shirts R Us.” After applying the filters the remaining rows (orders) add up to a total of 4. Thus, the total number of orders for the selected filters is 4. Note: Although there are several ways to accomplish this (for example, by combining the queries or using Data Model relationships) the procedure described above is one acceptable method to obtain the correct answer of 4 orders.

Answered by UpStudy AI and reviewed by a Professional Tutor

error msg
Explain
Simplify this solution

Bonus Knowledge

When you dive into the world of Power Query, you're entering a realm where data manipulation becomes a breeze! Importing your tables from Access is as simple as clicking a few buttons. By focusing solely on necessary columns, you're streamlining your data into a neat package. Just imagine the satisfaction of flicking through your cleansed data without extra clutter—like organizing your closet and finally making space for that fabulous new shirt! Once you've added those new fields with VLOOKUP, you’re practically becoming a data wizard! This function allows you to bring together information seamlessly, helping you understand the relationship among customers, orders, and products. Filtering the Orders table with your specified criteria doesn’t just help you find the total number of orders; it’s like a fun sleuthing mission, where you discover the gems hidden beneath numbers, making your analysis both engaging and insightful!

Related Questions

Latest Computer Technology Questions

1 Describe FIVE precautions which can be taken to minimise the chances of a computer being infected by a virus. (5) 2 List the steps to follow when changing the unit measurements from inches to centimetres. (6) 3 Write out the acronym, RAM, in full and list THREE things with examples, which are temporarily stored in here. (7) 4 One of the interns in the company has been complaining about extreme back and wrist pain after working for a long time behind the computer. What advice would you give to this intern regarding ergonomic practices? (5) 5 You start using the computer and realise that the person who had worked on the computer before you was lefthanded and had changed the left and right mouse buttons. 5.1 Describe the steps that you will follow to change the functions of the mouse buttons back for a person who is right-handed. (5) 6 While you are busy working you see that the computer often stops responding. Explain FIVE measures that can be used to prevent a virus from infecting the computer. (5) 6 Define the term ergonomics. (2) 8 Give THREE hints that may help reduce eye strain. (3) 9 Give FIVE common signs that indicate that a computer has been infected by a virus. (5) 10 Write steps to change the number format of the computer by using the regional settings. (6) 11 Define ergonomics. 12 You are working in MS Word and realise that you cannot see the ruler. Explain what steps you would follow to view the ruler. (2) 13 The currency of the computer is in dollars. How would you change these settings of the computer? (5)
Try Premium now!
Try Premium and ask Thoth AI unlimited math questions now!
Maybe later Go Premium
Study can be a real struggle
Why not UpStudy it?
Select your plan below
Premium

You can enjoy

Start now
  • Step-by-step explanations
  • 24/7 expert live tutors
  • Unlimited number of questions
  • No interruptions
  • Full access to Answer and Solution
  • Full Access to PDF Chat, UpStudy Chat, Browsing Chat
Basic

Totally free but limited

  • Limited Solution
Welcome to UpStudy!
Please sign in to continue the Thoth AI Chat journey
Continue with Email
Or continue with
By clicking “Sign in”, you agree to our Terms of Use & Privacy Policy