简体   繁体   English

需要在SSRS列表Tablix单元中为文本框插入嵌套的总计

[英]Need to insert nested totals for text boxes in SSRS List Tablix cell

This article is SOOOOO close: How to create a report with sections and page breaks using SSRS, at this link: How to create a report with sections and page breaks using SSRS . 本文非常接近:如何使用SSRS 创建包含节和分页符的报告 ,此链接: 如何使用SSRS 创建包含节和分页符的报告 Using a UNION between the tables we can get the vertical hierarchy we want, using the List Tablix. 在表之间使用UNION,可以使用List Tablix获得所需的垂直层次结构。 Using a LEFT JOIN between the tables, we can use a regular tablix to get the totals we want but we get all counties first, then all townships rather than as shown, County with its monthly breakdown followed by its townships with their monthly breakdown. 在表之间使用左联接,我们可以使用常规的Tablix来获取所需的总数,但是我们首先获取所有县,然后获取所有乡镇,而不是如图所示,先获取县的月度细分,再查看其乡镇的月度细分。

IF we can insert a total, somehow, some way ... it'll work OR if we can get the List Tablix functionality in a full blown Tablix, that should do it. 如果我们可以以某种方式插入总计...它将起作用,或者如果我们可以在完整的Tablix中获得List Tablix功能,则应该这样做。

Need to get totals on these text boxes: 需要在这些文本框中获取总计:

在此处输入图片说明

Here is where I need the totals: 这是我需要的总计:

在此处输入图片说明

Of course the answer was simple -- another developer and I looked at this and he tried another approach -- adding a row and then adding a total. 当然答案很简单-另一个开发人员,我看着这个,他尝试了另一种方法-添加一行,然后添加总数。 Something like it was tried before but the total arrived at was for every payment. 以前曾尝试过类似的方法,但总的来说是每次付款。

在此处输入图片说明

What can I say? 我能说什么 Overthinking is a disease ... find an intervention group! 过度思考是一种疾病...找到一个干预小组! :) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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