SSRS Line Chart Dynamic Y Axis
I have a line chart where the Y value is set to =CountRows() and I have a Category Group which groups on =CDate(Fields!END_MONTH_NB.Value) I am trying to set the interval of the Y axis dynamically such that fractions do not appear when the range is too small (see below). I tried setting the interval expression to =iif(CountRows() <= 5, 1, "Auto") which works fine if the total number of rows is less than or equal to 5, but what I really need is the maximum that CountRows() will return in the context of my Category Group. Any idea how to accomplish this? Since you're using SSRS 2012, you can use