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.

Reply
  • 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.

Children