I have an ssrs summary report, which drills though to a detail report.

Depending on the data, certain tablix cells could possibly have no values in them. I have to keep them visible due to formatting constraints.

It doesn't make sense for the user to be able to drill though from these value-less cells.

Is there any way to conditionally change that ability to drill though based upon the value of a tablix cellor dataset field? If how?

有帮助吗?

解决方案

Instead of just choosing a report to drill through, click the function button. enter image description here

You can enter an iif statement like

=Iif(IsNothing(Fields!MyField.Value), Nothing, "DrillthroughReportName") 

or

=Iif(Fields!MyField.Value = 0, Nothing, "DrillthroughReportName") 
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top