Forum Discussion
MichaelHearst13
8 years agoRegular Visitor
Calculate difference between summarized data column and static table
Hi all, I have actual sales data synched and summarized (date hierarchy -- month) from my SQL server (let's call this Ledger), and a static table that I created with monthly sales targets (let's ...
parry2k
8 years agoSuper User
Can you share how those tables are connected and what the columns in those tableS?
MichaelHearst13
8 years agoRegular Visitor
| table 1) | Ledger | table 2) | Calendar/Date Table | table 3) | Sales Projection | ||||
| trans_date | Sales | Date | MonthNameLong | Month | Sls/Day | Sales (forecasted) | |||
| 1/1/2017 | 500 | 1/1/2017 | January | January | 682 | 15000 | |||
| … | .. | … | .. | February | 650 | 13000 | |||
| .. | .. | .. | .. | March | …. | … | |||
| 2/1/2017 | 480 | 2/1/2017 | February |
- parry2k8 years agoSuper User
Based on what i see, you need to have date in sales projection instead of month and link that date with calendare date table, also ledger will have relation on trans date to date column in calendar table and it should be straight forward from there. let me know if you already tried this.
- parry2k8 years agoSuper User
and you will get something like this and can be further enhanced as needed