Forum Discussion
jfn
3 years agoFrequent Visitor
To forecast, data cannot have empty values
My graph used to forecast fine, but now, after updating the dataset, I have the following error: "to forecast, data cannot have empty values". I'm not sure how to approach this one. I would like to f...
v-yanjiang-msft
3 years agoCommunity Support
Hi jfn ,
I think this may be caused by relationship between tables, try to modify the formula like this:
Remaining Tokens02 =
VAR __StartingTokens = 375802
VAR __MaxDate =
MAX ( 'Date Table'[StartDate] )
RETURN
IF (
MAX ( [StartDate] ) <> BLANK (),
__StartingTokens
- CALCULATE (
SUM ( Token2021[Credits] ),
'Date Table'[StartDate] <= __MaxDate,
ALL ( Token2021[StartDate] )
)
)
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jfn
3 years agoFrequent Visitor
With this formulae, I still have an empty row (pic below)... Not sure if this is related, but here's how I generated the dates (for reference).
Date Table = CALENDAR(DATE(2021,01,01),TODAY())