开发者

SSRS - Ignore single aggregate value when drilling down

开发者 https://www.devze.com 2023-04-12 23:43 出处:网络
I am new to SSRS and I am creating a Drill Down report. This report is comparable to a sales report by loc开发者_如何学编程ation. Let\'s say Country - Region - City with subtotals for each group.

I am new to SSRS and I am creating a Drill Down report. This report is comparable to a sales report by loc开发者_如何学编程ation. Let's say Country - Region - City with subtotals for each group.

The data provided for this report is not always complete. So let's say for the country "United States" all the sales are in "No Region", and all sales in "No Region" are in "No City". When drilling down, if the only region is "No Region" I want to drill down to the next level right away instead of having the "No Region" value there, that I have to drill down through again.

For illustration:

SSRS - Ignore single aggregate value when drilling down

How can I achieve this? I have extensive programming knowledge (.NET) if this is necessary.


For the detail row group, set the initial visibility to

=CountDistinct(Fields!city.Value,"table1_Region") > 1

For the City group, set the initial visibility to

=CountDistinct(Fields!region.Value,"table1_Country") > 1

Replace field and group names to match your own.

0

精彩评论

暂无评论...
验证码 换一张
取 消