Level 2 Sprint 2 - 22.214.171.124 Create Line Chart Saved View
While creating the saved view for the line chart for my DEM03 Demand Forecast module i noticed that I only have 1 year of data for FY20. The requirement is asking for a view with 2 years of data (FY20 & FY21). I'm looking for some help in getting my formula correct.
What i did was i created a new line item in my DAT03 Historic Volumes to give me the volume for FY21. Like this:
Offset Volumes for 2nd Forecast Year:
IF 'SYS01 Time Settings By Week'.'2nd Forecast Year?' THEN OFFSET(Volumes, 52, 0) ELSE 0
(I simply removed the negative sign that was in front of the offset parameter for the 1st Year line item.)
Then in my DEM03 Demand Forecast module I entered this formula to give me the 2 year view:
IF 'SYS01 Time Settings By Week'.'1st Forecast Year?' THEN 'DAT03 Historic Volumes'.'Offset Volumes for 1st Forecast Year' ELSE 'DAT03 Historic Volumes'.'Offset Volumes for 2nd Forecast Year'
I did not get an error, but i also did not get values in FY 21. Here's what my view looks like with the formula in there:
Can anyone help guide me in the right direction?