Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
If we select 1-Dec -2018 to 15-Dec-2018 it displays the actual value for this and remaining Dates from 16-Dec-2018 upto 31-Dec-2018 it displays the Forecasted value.
But when i select for entire month Example:=1-Dec-2018 to 31-Dec-2018 It should display only Actual value and Forecast value as Zero. But the problem is, it displays the forecast value also for this Selection.
Please help and let me know what is wrong with this equation.
If(GetFieldSelections(Date)=max(Date),
(Sum({<FLAG={'AF'},Date={">=$(vBusinessOnTheBooks_ActualFrom_STLY)<=$(vBusinessOnTheBooks_Actual_To_STLY)"}>}ACTUAL_FORECAST_STAY_ROOMS)),
(Sum({<FLAG={'F'},Date={">=$(vBusinessOnTheBooks_Expected_From_STLY)<=$(vBusinessOnTheBooks_MonthEnd1_STLY)"}>}ACTUAL_FORECAST_STAY_ROOMS)
+
(Sum({<FLAG={'AF'},Date={">=$(vBusinessOnTheBooks_ActualFrom_STLY)<=$(vBusinessOnTheBooks_Actual_To_STLY)"}>}ACTUAL_FORECAST_STAY_ROOMS)))
)
Thanks & Regards in advance
What are the variables do?
Hello,
These are the four variables i have used for this equation: