I have report which are grouped by Client,Sub Client, Year, Quarter, Month, Date and Day. The group is set-up using Expand and Collapse option. For subscription purposes the report does not work when rendering in .pdf version because it needs to be expanded before rendering in .pdf.
I created a "None-DoNotShow" parameter holding a value of "Expand" or "Collapse"
The code is placed in the group detail visability
=iif(Parameters!ParamExpandOrCollapse.Value="Collapse",True,False)
The code is placed in InitialToggleState in Client Column
=IIF(Parameters!ParamExpandOrCollapse.Value="Expand",True,False)
I found, read and follow the steps in this article I found from http://www.sqlchick.com, and it only works on the first grouped column. I'm having difficulty making it worked for the Sub Client, Year, Quarter, Month, Date and Day.