简体   繁体   中英

Default report paramter value in SSRS 2012

I am receiving the following error from my child report: "The report parameter 'prmDefaultValueForSnapShots' has a value of DefaultValue or a ValidValue that depends on the report parameter 'prmStoreName'. Forward dependencies are not valid."

I have a parent report that feed values to the child report to display all sales data for the specific store. However, this report is rather large, thus I'm trying to set a snapshot for it on the Report Manager to execute in the early mornings for better user experience. For the snapshot to work, I need a default value on the parameter and I have been unable to make it work.

If anyone has any idea how to resolve this particular issue. Please, give me any suggestion as you can.

Regards,

Marcus

I have been researching this issue since Tuesday and I have not had any luck.

I'm not entirely sure I understand your goal or configuration. I'm also not sure if prmDefaultValueForSnapShots and prmStoreName are parameters of the main report or the sub-reports, and which of the two throws the error.

However, this error may occur if a parameter depends on another parameter which is not yet provided. Note that the order of the parameters is important . By "order", I mean the order in which they are defined, which is also the order in which they appear in the list (you can reorder them using the arrow buttons). Is it possible that prmDefaultValueForSnapShots depends on prmStoreName , but is defined before it?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM