Skip to Content

Audit Report-Date Conversion

Hi All,

I am working on creating an Audit Report using WEBI 4.1.

I am using the object "Event DateStamp" as a filter in the Webi report where the user is prompted to select a date range.(I have used Between function)

I have come across a problem with the datatype of the object "Event DateStamp".

The default datatype of the Event DateStamp object in the universe i installed is String. I changed that to Date and also changed the syntax to

" CAST(ADS_EVENT.Start_Time AS date "

But the above gives me an error.

I also tried with a different syntax as -" convert(varchar(10),ADS_EVENT.Start_Time,101) "

But none of the above worked for me..

I need to allow the user to select date range when they run the report in WEBI.

Could some one provide your suggestions on this?

Thank you.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 14, 2016 at 10:47 PM

    Another option I see here is to use the existing objects - "Event DayOfMonth"(which gives day) , "Event MonthNumber" (which gives month number) , "Event Year" (which gives year) to create a new Date dimension and allow the user to select from this.

    Could anyone please let me know how this can be achieved?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.