I have three tables 1. Date table 2.Actual table 3.Forecast table.
Date table connected to rest two tables.
Slice i am using from Date table.
Now, Need Actuals and Forcast in smae chart where few bars are Actuals, few bars are Forecast. like below
1. User asking If I select June then Jan to June is Actuals and July to Dec Forecast need.
2. if he select Sept then Jan to Sept Actuals and Oct to dec Forecast need.
3. Forecast table have few dates but each date there is 12 motnhs forecast values associated.
bit of complex here is :-
1. if user select June then Jan to June Actual at the same time June has to Pick up nearest forecast date and get next months values.(as i said Each forecast date have 12 months associated so greate than of June month values need from forecast table)
2. as per below. If user select June then nearest forcast date 30-june so Greater than of June Forcast all months values requred in same chart.
Thanks in Advance