Hi- I am having a problem in converting a varchar to date in report studio. What is happening is I have a cube as a datasource to the report studio. When I try to perform any > or = etc operations between the cube element and the day say current date it says "UDA-SQL-0460 A general exception has occurred during local processing. UDA-EE-0094 The operation "equal" is invalid for the following combination of data types: "varchar" and "date2" RSV-SRV-0042". Now when I use Cast function and say "cast([Cube - AP_AR].[Date].[Date].[Day].[Day - Long Name],Date)=current_date" on data Item I get the following error message when I run the report "UDA-SQL-0144 An arithmetic exception was detected. UDA-EE-0029 A date/time value is invalid. UDA-SQL-0460 A general exception has occurred during local processing. UDA-CUR-0000 Unable to fetch the row." Interestingly I don't get any errors when I validate the report. Please advice.
Thanks in Advance
Thanks in Advance