Forum Discussion
Forecast data error - timeline not consistent
- Anonymous1 year ago
Hi Ritaf1983 ,thanks for the quick reply, I'll add more.
Hi Shravan133 ,
Regarding your problem, I think the problem occurs because the date column in your original data is not continuous.The forecast function requires consecutive dates.
You need to create a date table containing consecutive dates and merge the data from your original data table into it.
Table 2 = ADDCOLUMNS(CALENDAR(DATE(2024,1,1),DATE(2024,12,31)),"value", VAR _result = SUMX(FILTER('Table',[Date] = EARLIER([Date])),[Value]) RETURN IF( ISBLANK(_result),0,_result))Best Regards,
Wenbin Zhou
Hi Ritaf1983 ,thanks for the quick reply, I'll add more.
Hi Shravan133 ,
Regarding your problem, I think the problem occurs because the date column in your original data is not continuous.The forecast function requires consecutive dates.
You need to create a date table containing consecutive dates and merge the data from your original data table into it.
Table 2 =
ADDCOLUMNS(CALENDAR(DATE(2024,1,1),DATE(2024,12,31)),"value",
VAR _result = SUMX(FILTER('Table',[Date] = EARLIER([Date])),[Value]) RETURN IF( ISBLANK(_result),0,_result))
Best Regards,
Wenbin Zhou