on 08-21-2014 4:30 PM
Hi experts,
It is my first time working on IDT and sql sentences and I would appreciate some help. I am using the auditing universe (BOEXI40-Audit-MSSQUL) and there are several date filters (current month, previous month, current year, etc), but I need to develop a new one. The user will select a date (year-month), and the query would have to show data between that selected month and 11 month before. In other words, from a specific month, get the last full year.
There is a filter called "Custom date range" but you have to select the start date and end date. In my case start date should be calculated..
Do you know what would be the best way to do it??
Thanks in advance, best regards.
Hi,
Create new filter in the universe.This is based on the Audit SQL server and this filter will fetch last 12 month data based on the Event Start time.
@Select(Events\Event StartTime) between dateadd(month,-12 ,@Prompt('Enter a Date','D',,Mono,Free,Persistent))
and
@Prompt('Enter a Date','D',,Mono,Free,Persistent)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.