cancel
Showing results for 
Search instead for 
Did you mean: 

Getting #Error for variable

brahmareddykatam
Discoverer
0 Kudos

Hi All,

We are getting #error for the below variable in the webi report.

=DaysBetween(ToDate(Substr(UserResponse ([Posting]; "P2 Postingdate Ende");1;10);"MM.dd.yyyy");[Enddate calc])/365

Please help us!

krisa24
Participant
0 Kudos

What are the values in P2 Postingdate Ende? Could you send some examples?

Which date format does your instance use? Could you share how ToDate() value is displayed? There may be issue that date is not displayed as MM/dd/yyyy

Accepted Solutions (1)

Accepted Solutions (1)

amitrathi239
Active Contributor
0 Kudos

There is an issue with todate.write the format according the string format.

ToDate(Substr(UserResponse ([Posting]; "P2 Postingdate Ende");1;10);"MM.dd.yyyy")

Answers (0)