Sheridan Wendt
  • Home
  • Technology
  • Business
  • Music
  • Adventures
  • Resume
  • Contact

Technology

Month-to-Date (MTD) Sales vs. Sales Goal with SQL

2/27/2018

Comments

 
This is a quick article about comparing month-to-date (MTD) sales from a sales database to a sales goal for use on it's own or with data visualization tools. This query assigns a goal of $1,000,000 as the sales goal for the month, adds up all sales for the month so far, and then compares it to where your sales should be at right now by showing 'Today's Target' so that that one can see at a glance if sales are on schedule. The results look like this:
Sales Goal  |  Today's Target  |  Gross Sales
​------------------------------------------------------
   1000000  |          515000          |  503000        
Picture

Read More
Comments

    Repositories

    PowerShell
    SQL

    Author

    Sheridan's interests are in technology, business, music, and adventures

    View my profile on LinkedIn

    RSS Feed

    Categories

    All
    Alerts
    Azure
    Business Intelligence
    Data Visualization
    Notifications
    Photo Frame
    PowerShell
    Raspberry Pi
    Scripting
    SMS
    SQL
    Technology
    Virtualization
    VMWare

    Business

    Archives

    June 2019
    May 2019
    September 2018
    May 2018
    April 2018
    March 2018
    February 2018
    December 2017
    September 2017
    July 2003

Powered by Create your own unique website with customizable templates.
  • Home
  • Technology
  • Business
  • Music
  • Adventures
  • Resume
  • Contact