Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Instead of viewing all your data based on one criteria, you can analyze it on two or more variables using Crosstab Queries. Maybe you're curious about how many bottles of each type of oil is sold everyday. To do that, you'll use a Crosstab Query to compare order date to products, and sum the quantity. Click on Create to start a new query. Choose Query Wizard. Choose the second option, Crosstab Query Wizard, and click OK. First, pick the table you'll be analyzing.
We'll choose Orders. It's important to note that you can also build Crosstab Queries based on the fields from multiple tables. But to do that, you would need to create a Select Query to join the fields from all your tables into one place. Then you can build the Crosstab from that one query. Click Next, and choose what field you want for the rows. For us, that will be OrderDate. Click on it, and click the arrow to move it over. Click Next. Now, we'll choose our column headers.
In this case, we'll analyze our Products. Click Next. Now is the most important field: what do you want to know? You can pick a particular field, and you can pick the kind of statistic that you want to run. We'll choose Quantity and Sum. That will give us the total bottles sold. Click Next. Let's change the name. Type in "Products Sold by Date Crosstab." Then click Finish.
Let's scroll down and take a look at March 9. We sold 104 bottles. When we scroll over to the right, we see 66 bottles of 8-ounce light oil, and 38 bottles of 32-ounce pure oil. By saving this query, we can run it again anytime we want a fresh analysis. Crosstab Queries help you analyze your data among two or more dimensions.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 74803 Viewers
80 Video lessons · 129869 Viewers
52 Video lessons · 64070 Viewers
59 Video lessons · 49865 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.