串联和计数SSRS报告
我有此数据集:
产品 | 帐户 |
---|---|
产品X | 帐户1 |
产品X | 帐户1 |
产品Y | 帐户1 |
产品Y | 帐户1 |
产品Y | 帐户1 |
,在我的表矩阵中,我想要此输出
产品 | |
---|---|
帐户1 | 产品X 2;产品y 3 |
谢谢您的帮助
I have this dataset :
Product | Account |
---|---|
Product X | Account 1 |
Product X | Account 1 |
Product Y | Account 1 |
Product Y | Account 1 |
Product Y | Account 1 |
And in my Table matrix i want this output
Product | |
---|---|
Account 1 | Product X2; Product Y3 |
Thank you for your help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您无法直接在SSR中进行此操作。
您有几个选择。我建议您在数据集查询中执行此操作,但是如果您的标签正确,则看起来数据集不是从SQL查询创建的。
另外,您可以使用矩阵,并按帐户逐列组和列组划分。然后将数据值设置为
count
,而不是默认sum
。它不会像您想要的那样在平坦的列表中,但可能就足够了。I don't think you will be able to do this directly in SSRS.
You have a couple of options. I would suggest you do this in your dataset query but if your tags are correct then it looks like the dataset is not create from a SQL query.
Alternatively you could use a matrix and have a row group by account and a column group by product. Then set the data value to
COUNT
rather then the defaultSUM
. It won't be in a flat list like you want but might suffice.