简体   繁体   中英

SSRS Row visibility based on another row's visibility

My SSRS report has the requirement to filter the report based on a cashier's variance to balancing to 0. My variance is a calculation based on two different datasets and values within those data sets.

I've used some custom code in order to pull some of the data from a second data set and then I use ReportItems! expressions to calculate the variance with it all combined in one chart. The requirement is to only show those cashiers that are off balancing by more than +/-$10. I've tried to put the ReportItem! expression in the filter for the tablix, but the filters won't take a ReportItem! expression. My next thought was to just hide the rows that don't meet my criteria, but when I do this one of my toggled rows unhides itself because it's parent is hidden now based on my row visibility expression. Is it possible to hide all child rows of hidden rows? Ideally, I'd turn this into a parameter so that the end user can change the range of what data to look at.

Did you try hiding the Group instead of the rows? Usually if there's a child within a group that is hidden, the child will hide too...

我不确定为什么,但是我不得不在所有其他行组都必须要做的组上放置组可见性设置。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM