Dear All,
May be this question is asked several times as I can see on older posts like below but still I could not find the answer.
https://community.oracle.com/thread/971923?db=5
https://community.oracle.com/thread/3617846
I have requirements to calculate MTD, YTD, LY YTD, LY MTD etc in one OBIA report and getting huge performance issues. The reports is taking aroudn 3 minutes with builtin time series functions like Ago, Todate.
Below is report. (There are two fact tables involved.)

I was able to tune Ago function following below note which has increased the performance a bit for Ago but still reports is taking more then 2 minutes.
Configuring the Oracle BI Repository - 11g Release 1 (11.1.1)
I can see in physical query that YTD calculation (with TODATE function) is generating a query which is scanning full table (having million of rows) and since no time dimension in where clause.
Can you please share expert opinion on the same to have alternative of TODATE function?
Regards
Naeem K.