I get #error in webi when I use formatdate or todate in webi xi 3.1. What are the reasons?
I want to change character date (concatenated month+‘/’+date+‘/’+year) function into a date type format using formatdate and todat but i get the above error? It parses ok but when i drag it it gives #error. It also use to work fine in deski
=If [Product Creation Date] >= formatdate(Month(CurrentDate())+“/1/”+ Year([Product Creation Date]); “mm/dd/yyyy”) and [Product Creation Date] <= CurrentDate() then sum([Sale Volume])
What is the workaround.
Can anyone give an actual example, using say the User Response function and converting the character date in mm/dd/yyyy 12:00:00 AM format into a possible date?
=Sum(If [Date Application Created ] <=LastDayOfMonth( [Start Date based on DateApplication Created] ) And [Date Application Created] >= [Start Date based on DateApplication Created] Then [Application Volume])
Start date variable calc:
=ToDate(FormatDate([Date Application Created ];“MM”)+"/1/"+FormatDate([Date Application Created ];“yyyy”); “mm/dd/yyyy”)
but the app volume for first day is not being picked up…
In this formula you are trying to sum a boolean value which is returned by the If condition instead you need to try this
=If([Date Application Created ] <=LastDayOfMonth( [Start Date based on DateApplication Created] ) And [Date Application Created] >= [Start Date based on DateApplication Created]) Then Sum[Application Volume])