How to show different groups in same matrix where no parent or child relationship

元气小坏坏 提交于 2020-06-29 03:34:51

问题


I am tasked with reproducing a spreadsheet in an SSRS report to save hours of Excel spreadsheet work. I have done all the calculations and got them into a single dataset however I am not able to work out how to display in the same table/matrix. My spreadsheet looks like this:

Column B is a text column used to describe what the figures in each group are showing. Col C is 'Region' grouping.

I have got this far with my matrix - grouping by region and month. This gives me rows 3 to 8 incl of the spreadsheet.

But I am not able to work out how to add the next group of data (rows 9 to 12 in the spreadsheet) into the matrix. Each group of figures would use an expression to pull by a different field so only using single dataset: I still want it to use the region and month exactly the same as the top group. There is no parent or child relationship between the labels in col B in the spreadsheet.

I have tried adding an adjacent group below but it is still trying to keep it as part of the top group.

Is this at all possible?
do I need to have 6 different matrix, placing them together and just hide the month names in the bottom 5?

This is an extract of the data results. The top group counts the uniques customer id, the second group counts the unique sale id, the 3rd group totals the net sale value, the 4th group totals the profit value, the 5th group calculates the total sales and divides by the number of customers, the 6th group calculates the total sales and divides by the number of sales.


回答1:


It looks like you will have to have 6 separate tablix and amend the aggregate function and field for each tablix



来源:https://stackoverflow.com/questions/62431581/how-to-show-different-groups-in-same-matrix-where-no-parent-or-child-relationshi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!