串联和计数SSRS报告

发布于 2025-02-05 20:41:50 字数 499 浏览 2 评论 0原文

我有此数据集:

产品帐户
产品X帐户1
产品X帐户1
产品Y帐户1
产品Y帐户1
产品Y帐户1

,在我的表矩阵中,我想要此输出

产品
帐户1产品X 2;产品y 3

谢谢您的帮助

I have this dataset :

ProductAccount
Product XAccount 1
Product XAccount 1
Product YAccount 1
Product YAccount 1
Product YAccount 1

And in my Table matrix i want this output

Product
Account 1Product X2; Product Y3

Thank you for your help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

悸初 2025-02-12 20:41:50

我认为您无法直接在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 default SUM. It won't be in a flat list like you want but might suffice.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文