This looks like a SQL Server question rather than a BRIO question. You can include the max date in a sub-query.
You would write:
select Sum(Daily.Amount) AS SumOfAmount
from Daily
where
Daily.Date >= (select DateAdd("m",-3, max(Daily.Date))
from Daily)
This is a problem that I have also run into. One thing that you can try is to create a view in Oracle with the desired query and then just reference the view in BRIO. Sometimes this works.
If this does not work, another approach is to have a stored procedure insert data into some other table...
Without seeing your code it is a little difficult to answer your question. If you want you can send me an email at mpcohen@mindspring.com.
Some general pointers. Use Active Document.Sections to reference limits, methods and controls. Everything is case sensitive and it is easy to make...
YOu should have a section with the name of the query. If you did not rename the query section it will have the default name of QUERY. Open that section and find process among its methods.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.