How to enter sales goal figures for individual salespeople
Hey everyone -
I have a question regarding sales goal figures. I have a set of data with individual sales listed on it, with the date of the invoice, salesperson, sale total, and other data detailing each unique sale. On a separate spreadsheet, I have each sales goal for each person, for the year, and also for each month. How would I go about combining these two sets of data so that I can use graphs that show both the sales goal, and then the monthly/yearly progress? The sales sheet updates automatically, but the sales goals sheet will stay the same throughout the year.
Thank you for any help, it's much appreciated!
Comments
-
Hi,
You will have to use a dataflow. You can use redshift dataflow to join the two tables, something like:
Select Sales.* , Goals.MonthGoal, Goals.YearGoal From Sales Left Outer Join Goals ON
Sales.salesperson= Goals.Salesperson AND DATEPART(y,Sales.Date) =Goals.Year AND DATEPART(mon, Sales.Date) = Goals.Month
This will give you on each record information about sales goal for that SalesPerson on the month and year of the invoice. Then you can use A MAX() Aggregate on the card to get a unique Goal value for each month or year.. This is the best i can do not accurately knowing your data schema.
There are certainly other ways to achieve this.
Hope this helps
Ricardo Granada
MajorDomo@Lusiaves
**If the post solves your problem, mark it by clicking on "Accept as Solution"
**You can say "Thank you" by clicking the thumbs up in the post that helped you.0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive