0

I have a tablix with a parent group. In the group properties I am trying to use a report variable within an expression in general tab but I get below error:

Variable values cannotg be used in group expressions

How can I get rid of this?

Willy
  • 9,848
  • 22
  • 141
  • 284
  • is the variable you're passing in a value in the dataset? – NewGuy Aug 19 '16 at 13:48
  • @newGuy No, it isn't, this variable is defined in the report (rdl) variables. I declared this variable through "Report properties..." and then "Variables" section. For example I declare MaxTablixRowsPerPage = 3 – Willy Aug 19 '16 at 13:51
  • You will most likely need to add the variable in the "Tablix Group Properties" -> "Variables" tab. This'll be valid within your parent group and child groups. It's evaluated only once. – Jonathon Ogden Aug 19 '16 at 14:02
  • @JonathonOgden ok, and once defined there, how I can access this variable from the expression? – Willy Aug 19 '16 at 14:29
  • You reference it as with any other variable using `Variables!VariableName.Value`. – Jonathon Ogden Aug 19 '16 at 14:41

0 Answers0