I have a fairly common requirement. There is a weekly a report for which I need the week to be picked up dynamically. So everytime we launch the report we should see the current week data.
The Universe designer created an object called Current Week in this manner -> DATEADD(wk,DATEDIFF(wk,0,GETDATE()),5)
This is setup as a separate object and not associated to any class in the Universe.
When I use this though to filter data in the query panel, the performance of the report turns out to be very bad. If I just directly provide the date as a constant, the report runs in about 2-3 seconds. If I use this object it take 70-80 secs.
Is there an alternate way of achieving the requirement?