Adding parameters to auto distributed reports

SUGGESTED

i have a report that is emailed regularly via windows task manager. I need to add a parameter to the report to pull in just the prior period data on one of the tables. my question is can the report run automatically given parameters require user interaction? Hoping i can set it to just pull the prior period without date ranges needing to be specified. 

Parents
  • 0
    SUGGESTED

    If you add a Date range as a Run Time parameter and generate the report using the Task Scheduler the report will stop and await a response.

    The easiest work around would be to add the Prior Period date range to the report using the Filters. Then next month change the dates to the prior month and so on.

    Can you use the Period Number as opposed to the dates? Because if you can use the Period Number you could add a SQL Where statement to the Container utilizing the @MONTH@ System Variable which contains the current month number and subtract 1 from it.

  • 0 in reply to Doc102208

    this is a weekly report, sometimes 2x weekly so to have to adjust parameters that frequently is not an option. ideally i would like the query to do current date minus 28 (4 week trending). However I do not know how to write SQL or to add it to the container? I just know table/graphical joins. Any tutorials you could share that I could attempt this?

  • 0 in reply to wtcrockett

    The other option I read about was defining my own system variable using the alchemex.ini file but i cannot find it on my computer even with Sage help so my guess its under admin lock and key. I could go that route but probably run into the same obstacle which is that I do not know SQL...

Reply Children