SSRS 2012 (Report Server): DynamicHeight property not working properly when in Tablix

时间:2015-07-28 16:39:13

标签: reporting-services

I have a chart (range bar) inside of a tablix - the tablix is grouped by ProductLine and so the chart data is specific to that group. I have the DynamicHeight property set to:

=cstr(CInt(Lookup(Fields!ProductLine.Value, Fields!ProductLine.Value, Fields!rowcount1.Value, "ProductLineCount"))*IIF(Parameters!SummaryInBar.Value=1, 1, .5)) & "in"

The end result is that all of the charts have the same height (expecting them to be based on the data in the group) - when I put the expression in a row (inside the group), I'm able to see that it is indeed calculating properly (varying values).

I have seen that there is a known issue related to this with SQL Server 2008 reporting services, but I'm on SQL 2012. Let me know if you have any additional options for me to try. Thanks!

1 个答案:

答案 0 :(得分:0)

这不是问题。事实证明,设计师在没有分页时将它们显示为固定高度,但在部署时它可以工作。如果使用分页符,则动态高度在设计器中起作用。