Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Display query that calculates and imports into Power BI the average salesAmountQuota per YEAR for each year since the year 2000 (or earliest valid

1. Display query that calculates and imports into Power BI the average salesAmountQuota per YEAR for each year since the year 2000 (or earliest valid year), using data in the factSalesQuota table. Display only the calendar year and the average salesAmountQuota 

 

2. Use the HAVING clause to display query that calculates and imports into Power BI the average salesAmountQuota per employee using data in the factSalesQuota table for calenda years 2000 to date BUT displays results only for the averages that fall below a certain threshold (you are free to establish the threshold). Display only the calendar year and the average salesAmountQuota. 

 

3. Display query that uses an INNER JOIN to source for records from the product dimension table and the internet sales fact table. Display only the product's name, its color, its status, its order number, its total product cost and its total sales amount. Also generate a column that calculates it net margin (profit). 

 

4. Display query that imports into Power BI the gross total sales by country

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Certainly here are SQL queries for each of your requirements 1 Calculate and import average salesAmo... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managerial Accounting

Authors: James Jiambalvo

6th edition

9781119158226, 111915801X, 1119158222, 978-1119158011

Students also viewed these Databases questions