__STYLES__
For the Maven Sales Challenge, you'll play the role of a BI Developer for MavenTech, a company that specializes in selling computer hardware to large businesses. They've been using a new CRM system to track their sales opportunities but have no visibility of the data outside of the platform.
In an effort to become a data-driven organization, you've been asked to create an interactive dashboard that enables sales managers to track their team's quarterly performance.
CRM Sales Opportunities - B2B sales pipeline data from a fictitious company that sells computer hardware.
I started with the sales_pipeline (fact) table, securing that close_value field was defined as Fixed Decimal.
Second table imported was the accounts (dimension) table. Here there was an issue with formatting of the revenue field, due to having . instead of , as a decimal divider. This was corrected so the field could be correctly formatted as Fixed Decimal. The values were also multiplied by 1 million, (as the data is in millions of dollars), for easier calculations and summaries later on. The data in the sector field was capitalized for better presentation.
The third table, sales_teams (dimension), had no data issues in it and could be imported unchanged.
The last table to be imported was the products (dimension) table. The only change here was to define the sales_price field as Fixed Decimal. An inconsistency was also found in that "GTX Pro" was spelled "GTXPro" in the sales_pipeline table. This was corrected by updating the values in the sales_pipeline table.
For the data model an extra dimension table, calendar, was created. This table holds date dimensions like month and quarter for the dates in the data set. The field YearQuarter is formatted like "2017 Quarter 4" in order to make it easier for the user to see which data is being represented in the dashboard.
The final model looks as below (The active relationship to the calendar table is to close_date, while the inactive one is to engage_date.
Metrics
Measures
Final result